Index: components/wifi/fake_wifi_service.cc |
diff --git a/components/wifi/fake_wifi_service.cc b/components/wifi/fake_wifi_service.cc |
index bbf3f8e4f0183810ae9993ce7baad40de2213bf8..d19a4fe3e257686159a4c6975e0e925130515e7a 100644 |
--- a/components/wifi/fake_wifi_service.cc |
+++ b/components/wifi/fake_wifi_service.cc |
@@ -5,6 +5,7 @@ |
#include "components/wifi/fake_wifi_service.h" |
#include <memory> |
+#include <utility> |
#include "base/bind.h" |
#include "base/message_loop/message_loop.h" |
jdoerrie
2017/04/12 12:37:46
#include "base/values.h"
vabr (Chromium)
2017/04/12 12:55:03
Done.
|
@@ -118,7 +119,7 @@ void FakeWiFiService::GetVisibleNetworks(const std::string& network_type, |
it->type == network_type) { |
std::unique_ptr<base::DictionaryValue> network( |
it->ToValue(!include_details)); |
- network_list->Append(network.release()); |
+ network_list->Append(std::move(network)); |
} |
} |
} |