Index: chromeos/network/onc/onc_mapper.cc |
diff --git a/chromeos/network/onc/onc_mapper.cc b/chromeos/network/onc/onc_mapper.cc |
index 16c1172c8dfb2e4af9e9dc6ae71cecded00a2d89..d7417595aef099e1130cb926f896f8b6c4f8eecd 100644 |
--- a/chromeos/network/onc/onc_mapper.cc |
+++ b/chromeos/network/onc/onc_mapper.cc |
@@ -82,7 +82,7 @@ void Mapper::MapFields(const OncValueSignature& object_signature, |
if (current_field_unknown) |
*found_unknown_field = true; |
else if (result_value.get() != NULL) |
- result->SetWithoutPathExpansion(it.key(), result_value.release()); |
+ result->SetWithoutPathExpansion(it.key(), std::move(result_value)); |
else |
DCHECK(*nested_error); |
} |