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

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

Issue 2812953002: Stop passing raw pointers to base::Value API in c/b/ui (Closed)
Patch Set: Rebased 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 f8ca248265909691a151af1f240ae06ae0668aa5..ac5352e47210a9b485d21fd50142626bb32e126c 100644
--- a/chrome/browser/ui/webui/chromeos/network_ui.cc
+++ b/chrome/browser/ui/webui/chromeos/network_ui.cc
@@ -67,7 +67,7 @@ void SetDeviceProperties(base::DictionaryValue* dictionary) {
ip_configs.release());
}
if (!device_dictionary->empty())
- dictionary->Set(shill::kDeviceProperty, device_dictionary.release());
+ dictionary->Set(shill::kDeviceProperty, std::move(device_dictionary));
}
class NetworkConfigMessageHandler : public content::WebUIMessageHandler {

Powered by Google App Engine
This is Rietveld 408576698