summaryrefslogtreecommitdiffstats
path: root/src/core/certificate_error_controller.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/certificate_error_controller.cpp')
-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 64e5b36d..b5c705de 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