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

Unified Diff: chrome/browser/ui/webui/chromeos/network_ui.cc

Issue 2845113002: Remove raw base::DictionaryValue::SetWithoutPathExpansion in //chrome (Closed)
Patch Set: Address comments Created 3 years, 8 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/chromeos/network_ui.cc
diff --git a/chrome/browser/ui/webui/chromeos/network_ui.cc b/chrome/browser/ui/webui/chromeos/network_ui.cc
index ac5352e47210a9b485d21fd50142626bb32e126c..5cdb9f79d4072e2ba2a6a918e17011ef882f36e3 100644
--- a/chrome/browser/ui/webui/chromeos/network_ui.cc
+++ b/chrome/browser/ui/webui/chromeos/network_ui.cc
@@ -64,7 +64,7 @@ void SetDeviceProperties(base::DictionaryValue* dictionary) {
ip_configs->Append(iter.value().CreateDeepCopy());
}
device_dictionary->SetWithoutPathExpansion(shill::kIPConfigsProperty,
- ip_configs.release());
+ std::move(ip_configs));
}
if (!device_dictionary->empty())
dictionary->Set(shill::kDeviceProperty, std::move(device_dictionary));

Powered by Google App Engine
This is Rietveld 408576698