diff options
Diffstat (limited to 'chrome/renderer/localized_error.cc')
-rw-r--r-- | chrome/renderer/localized_error.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/renderer/localized_error.cc b/chrome/renderer/localized_error.cc index 7b4ae31..8821267 100644 --- a/chrome/renderer/localized_error.cc +++ b/chrome/renderer/localized_error.cc @@ -355,7 +355,7 @@ void LocalizedError::GetStrings(const WebKit::WebURLError& error, l10n_util::GetStringUTF16(IDS_ERRORPAGES_SUGGESTION_HEADING)); } - string16 failed_url(ASCIIToUTF16(error.unreachableURL.spec())); + string16 failed_url(ASCIIToUTF16(std::string(error.unreachableURL.spec()))); // URLs are always LTR. if (rtl) base::i18n::WrapStringWithLTRFormatting(&failed_url); |