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

Unified Diff: chrome/browser/ui/webui/options/chromeos/internet_options_handler.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/ui/webui/options/chromeos/internet_options_handler.cc
diff --git a/chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc b/chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc
index fd8488e1bc345ebc9a7948cd20f571f1ca779f2f..ec86b3384931c660d2859246976df7c16f06974f 100644
--- a/chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc
+++ b/chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc
@@ -1334,8 +1334,9 @@ void InternetOptionsHandler::SetServerHostnameCallback(
NOTREACHED();
return;
}
- SetNetworkProperty(service_path, shill::kProviderHostProperty,
- base::Value::CreateStringValue(server_hostname));
+ SetNetworkProperty(service_path,
+ shill::kProviderHostProperty,
+ new base::StringValue(server_hostname));
}
void InternetOptionsHandler::SetPreferNetworkCallback(

Powered by Google App Engine
This is Rietveld 408576698