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

Unified Diff: extensions/common/extension_l10n_util.cc

Issue 2664753002: Remove base::StringValue (Closed)
Patch Set: Rebase Created 3 years, 9 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
Index: extensions/common/extension_l10n_util.cc
diff --git a/extensions/common/extension_l10n_util.cc b/extensions/common/extension_l10n_util.cc
index bf0194a4f6c409b115dfd7908337cb0c8b6567c9..4422ca344d260bc504df2fb0694e71943b11c6b0 100644
--- a/extensions/common/extension_l10n_util.cc
+++ b/extensions/common/extension_l10n_util.cc
@@ -92,7 +92,7 @@ bool LocalizeManifestListValue(const std::string& key,
std::string result;
if (list->GetString(i, &result)) {
if (messages.ReplaceMessages(&result, error))
- list->Set(i, new base::StringValue(result));
+ list->Set(i, new base::Value(result));
else
ret = false;
}
« no previous file with comments | « extensions/common/event_filter_unittest.cc ('k') | extensions/common/permissions/media_galleries_permission_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698