diff options
Diffstat (limited to 'chrome/browser/dom_ui/dom_ui.cc')
-rw-r--r-- | chrome/browser/dom_ui/dom_ui.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/dom_ui/dom_ui.cc b/chrome/browser/dom_ui/dom_ui.cc index 9a52bdd..b0efcad 100644 --- a/chrome/browser/dom_ui/dom_ui.cc +++ b/chrome/browser/dom_ui/dom_ui.cc @@ -111,7 +111,7 @@ void DOMMessageHandler::SetURLAndTitle(DictionaryValue* dictionary, std::wstring title, const GURL& gurl) { std::wstring wstring_url = UTF8ToWide(gurl.spec()); - dictionary->SetString(LIT16("url"), WideToUTF16Hack(wstring_url)); + dictionary->SetString(L"url", wstring_url); bool using_url_as_the_title = false; if (title.empty()) { @@ -133,7 +133,7 @@ void DOMMessageHandler::SetURLAndTitle(DictionaryValue* dictionary, DCHECK(success ? (title != title_to_set) : (title == title_to_set)); } } - dictionary->SetString(LIT16("title"), WideToUTF16Hack(title_to_set)); + dictionary->SetString(L"title", title_to_set); } bool DOMMessageHandler::ExtractIntegerValue(const Value* value, int* out_int) { |