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..e3a46836a0fa72fffa7fecc4fbe0866b1e4b5417 100644 |
--- a/components/wifi/fake_wifi_service.cc |
+++ b/components/wifi/fake_wifi_service.cc |
@@ -5,9 +5,11 @@ |
#include "components/wifi/fake_wifi_service.h" |
#include <memory> |
+#include <utility> |
#include "base/bind.h" |
#include "base/message_loop/message_loop.h" |
+#include "base/values.h" |
#include "components/onc/onc_constants.h" |
namespace wifi { |
@@ -118,7 +120,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)); |
} |
} |
} |