Index: chromeos/network/network_util.cc |
diff --git a/chromeos/network/network_util.cc b/chromeos/network/network_util.cc |
index a8c83d86372b234659522d70c63053c226a99148..8968d844ecd77f5265f14895a77c3c2cbfd06098 100644 |
--- a/chromeos/network/network_util.cc |
+++ b/chromeos/network/network_util.cc |
@@ -7,6 +7,8 @@ |
#include <stddef.h> |
#include <stdint.h> |
+#include <utility> |
+ |
#include "base/strings/string_number_conversions.h" |
#include "base/strings/string_tokenizer.h" |
#include "base/strings/string_util.h" |
@@ -204,7 +206,7 @@ std::unique_ptr<base::ListValue> TranslateNetworkListToONC( |
for (const NetworkState* state : network_states) { |
std::unique_ptr<base::DictionaryValue> onc_dictionary = |
TranslateNetworkStateToONC(state); |
- network_properties_list->Append(onc_dictionary.release()); |
+ network_properties_list->Append(std::move(onc_dictionary)); |
} |
return network_properties_list; |
} |