Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5499)

Unified Diff: chrome/renderer/blocked_plugin.cc

Issue 3057027: Convert wstring/wchar_t* in chrome/renderer to std::string/char* or string16. (Closed)
Patch Set: utf8 -> utf16 for things coming from resources Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/renderer/extensions/extension_api_json_validity_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/blocked_plugin.cc
diff --git a/chrome/renderer/blocked_plugin.cc b/chrome/renderer/blocked_plugin.cc
index 6205b2d777a1438037ccb810f9246f4c08e315d1..b5c3ec0d551c0f31e9accc878fe9cfb71cb19cbd 100644
--- a/chrome/renderer/blocked_plugin.cc
+++ b/chrome/renderer/blocked_plugin.cc
@@ -48,8 +48,8 @@ BlockedPlugin::BlockedPlugin(RenderView* render_view,
<< resource_id;
DictionaryValue localized_strings;
- localized_strings.SetString(L"loadPlugin",
- l10n_util::GetString(IDS_PLUGIN_LOAD));
+ localized_strings.SetStringFromUTF16("loadPlugin",
+ l10n_util::GetStringUTF16(IDS_PLUGIN_LOAD));
// "t" is the id of the templates root node.
std::string htmlData = jstemplate_builder::GetTemplatesHtml(
« no previous file with comments | « no previous file | chrome/renderer/extensions/extension_api_json_validity_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698