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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 372103006: Stamp out CreateStringValue in chrome/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
Index: chrome/browser/chrome_content_browser_client.cc
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index 618b9224253be07312707a4b7d3ba425b96516b5..70da3b2675d47c98706b272c9ab55c7eb34e1161 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -2415,8 +2415,8 @@ void ChromeContentBrowserClient::UpdateInspectorSetting(
Profile::FromBrowserContext(browser_context)->GetPrefs(),
prefs::kWebKitInspectorSettings);
base::DictionaryValue* inspector_settings = update.Get();
- inspector_settings->SetWithoutPathExpansion(
- key, base::Value::CreateStringValue(value));
+ inspector_settings->SetWithoutPathExpansion(key,
+ new base::StringValue(value));
}
void ChromeContentBrowserClient::BrowserURLHandlerCreated(

Powered by Google App Engine
This is Rietveld 408576698