Index: chromeos/network/onc/onc_validator.cc |
diff --git a/chromeos/network/onc/onc_validator.cc b/chromeos/network/onc/onc_validator.cc |
index 3bb988a569c0727e555a10c692136d24759ef310..f0dde186263a7b696d37b57d56b910d92a9f4039 100644 |
--- a/chromeos/network/onc/onc_validator.cc |
+++ b/chromeos/network/onc/onc_validator.cc |
@@ -8,6 +8,7 @@ |
#include <stdint.h> |
#include <algorithm> |
+#include <utility> |
#include "base/json/json_writer.h" |
#include "base/logging.h" |
@@ -284,7 +285,7 @@ bool Validator::ValidateRecommendedField( |
repaired_recommended->AppendString(field_name); |
} |
- result->Set(::onc::kRecommended, repaired_recommended.release()); |
+ result->Set(::onc::kRecommended, std::move(repaired_recommended)); |
return true; |
} |