summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/core/certificate_error_controller.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/certificate_error_controller.cpp b/src/core/certificate_error_controller.cpp
index 64e5b36d4..b5c705de3 100644
--- a/src/core/certificate_error_controller.cpp
+++ b/src/core/certificate_error_controller.cpp
@@ -111,7 +111,7 @@ CertificateErrorController::ResourceType CertificateErrorController::resourceTyp
static QString getQStringForMessageId(int message_id) {
base::string16 string = l10n_util::GetStringUTF16(message_id);
- return QString::fromUtf16(string.data(), string.length());
+ return toQt(string);
}
QString CertificateErrorController::errorString() const