Chromium Code Reviews

Unified Diff: chrome/browser/ui/webui/options/core_options_handler.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.
Jump to:
View side-by-side diff with in-line comments
Index: chrome/browser/ui/webui/options/core_options_handler.cc
diff --git a/chrome/browser/ui/webui/options/core_options_handler.cc b/chrome/browser/ui/webui/options/core_options_handler.cc
index 573516474e3f8595d4e7c982837251e267a94019..4ab5062fa7ca71b7c0bf8889847e302db90aac1f 100644
--- a/chrome/browser/ui/webui/options/core_options_handler.cc
+++ b/chrome/browser/ui/webui/options/core_options_handler.cc
@@ -579,7 +579,7 @@ void CoreOptionsHandler::HandleSetPref(const base::ListValue* args,
return;
}
GURL fixed = url_formatter::FixupURL(original, std::string());
- temp_value.reset(new base::StringValue(fixed.spec()));
+ temp_value.reset(new base::Value(fixed.spec()));
value = temp_value.get();
break;
}
« no previous file with comments | « chrome/browser/ui/webui/options/content_settings_handler.cc ('k') | chrome/browser/ui/webui/options/create_profile_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine