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

Unified Diff: chrome/renderer/blocked_plugin.cc

Issue 3033050: Rename DictionaryValue's SetStringFromUTF16() to SetString() (and overload). (Closed)
Patch Set: There shouldn't be wstrings in platform-ind. code. 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 | « chrome/common/plugin_group.cc ('k') | chrome/renderer/localized_error.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 a6ef499ff0963b84456cb0e04ffcf7837fdba478..906726f7d2ab6c8d7b23d9bc0b8c1f2e2c6e9459 100644
--- a/chrome/renderer/blocked_plugin.cc
+++ b/chrome/renderer/blocked_plugin.cc
@@ -49,8 +49,8 @@ BlockedPlugin::BlockedPlugin(RenderView* render_view,
<< resource_id;
DictionaryValue localized_strings;
- localized_strings.SetStringFromUTF16("loadPlugin",
- l10n_util::GetStringUTF16(IDS_PLUGIN_LOAD));
+ localized_strings.SetString("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 | « chrome/common/plugin_group.cc ('k') | chrome/renderer/localized_error.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698