Index: components/policy/core/common/mac_util.cc |
diff --git a/components/policy/core/common/mac_util.cc b/components/policy/core/common/mac_util.cc |
index 911453d517a402d5555de3146b1862442ee4fc0d..7faecd2bb93906dec5407c22e1baef2e37fef6cf 100644 |
--- a/components/policy/core/common/mac_util.cc |
+++ b/components/policy/core/common/mac_util.cc |
@@ -40,7 +40,7 @@ void ArrayEntryToValue(const void* value, void* context) { |
std::unique_ptr<base::Value> converted = |
PropertyToValue(static_cast<CFPropertyListRef>(value)); |
if (converted) |
- static_cast<base::ListValue *>(context)->Append(converted.release()); |
+ static_cast<base::ListValue*>(context)->Append(std::move(converted)); |
} |
} // namespace |