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

Unified Diff: chromeos/network/managed_network_configuration_handler_impl.cc

Issue 2740143002: Change base::Value::ListStorage to std::vector<base::Value> (Closed)
Patch Set: Comment Updates 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: chromeos/network/managed_network_configuration_handler_impl.cc
diff --git a/chromeos/network/managed_network_configuration_handler_impl.cc b/chromeos/network/managed_network_configuration_handler_impl.cc
index c91cfdaadf292386f1a49c46e3db26bf8ef0024d..d3b45256ed2f1662c6b867371d6bbf58600721ce 100644
--- a/chromeos/network/managed_network_configuration_handler_impl.cc
+++ b/chromeos/network/managed_network_configuration_handler_impl.cc
@@ -442,8 +442,8 @@ void ManagedNetworkConfigurationHandlerImpl::SetPolicy(
for (base::ListValue::const_iterator it = network_configs_onc.begin();
it != network_configs_onc.end(); ++it) {
- base::DictionaryValue* network = NULL;
- (*it)->GetAsDictionary(&network);
+ const base::DictionaryValue* network = NULL;
+ it->GetAsDictionary(&network);
DCHECK(network);
std::string guid;

Powered by Google App Engine
This is Rietveld 408576698