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

Unified Diff: chrome/browser/ui/webui/local_state/local_state_ui.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: chrome/browser/ui/webui/local_state/local_state_ui.cc
diff --git a/chrome/browser/ui/webui/local_state/local_state_ui.cc b/chrome/browser/ui/webui/local_state/local_state_ui.cc
index 42a27aa5b4d3b900da4f85724fb6f3bb92c490b2..0ebad3887c73bc9f7ef0024aa910c651e47cce05 100644
--- a/chrome/browser/ui/webui/local_state/local_state_ui.cc
+++ b/chrome/browser/ui/webui/local_state/local_state_ui.cc
@@ -76,7 +76,7 @@ void LocalStateUIHandler::HandleRequestJson(const base::ListValue* args) {
json = "Error loading Local State file.";
web_ui()->CallJavascriptFunctionUnsafe("localState.setLocalState",
- base::StringValue(json));
+ base::Value(json));
}
// Returns true if |pref_name| starts with one of the |valid_prefixes|.

Powered by Google App Engine
This is Rietveld 408576698