Index: chromeos/network/onc/onc_translator_shill_to_onc.cc |
diff --git a/chromeos/network/onc/onc_translator_shill_to_onc.cc b/chromeos/network/onc/onc_translator_shill_to_onc.cc |
index d1026aac949a0b61f678b50f02c9da56f853e27e..2e62462a6b6a2f9315381eb90101b115a8ddb699 100644 |
--- a/chromeos/network/onc/onc_translator_shill_to_onc.cc |
+++ b/chromeos/network/onc/onc_translator_shill_to_onc.cc |
@@ -694,7 +694,7 @@ void ShillToONCTranslator::TranslateAndAddListOfObjects( |
// If the nested object couldn't be parsed, simply omit it. |
if (nested_object->empty()) |
continue; |
- result->Append(nested_object.release()); |
+ result->Append(std::move(nested_object)); |
} |
// If there are no entries in the list, there is no need to expose this field. |
if (result->empty()) |