From 1f95d6661f9d0323b67bb72fc144cb714ad0f46d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Br=C3=BCning?= Date: Wed, 3 Sep 2014 19:26:37 +0200 Subject: [Win] Fix compiler error by using toQt method for string16. Change-Id: I3412c8e7315020f517039290b03282513569ef2d Reviewed-by: Jocelyn Turcotte --- src/core/certificate_error_controller.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3