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

Unified Diff: chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc

Issue 11415226: webui/options: Do not use Value::CreateStringValue. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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 02b1187123b20bb58c4222cc7e6058a5cc9c46e5..7133d6044bf9e20c1bc02fa9c7b0ccb3bd169032 100644
--- a/chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc
+++ b/chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc
@@ -520,7 +520,7 @@ void PopulateVPNDetails(
chromeos::onc::kVPN,
chromeos::onc::vpn::kHost));
SetValueDictionary(dictionary, kTagServerHostname,
- Value::CreateStringValue(vpn->server_hostname()),
+ new base::StringValue(vpn->server_hostname()),
hostname_ui_data);
}

Powered by Google App Engine
This is Rietveld 408576698