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 7faecd2bb93906dec5407c22e1baef2e37fef6cf..e213d08ba3e967af87dbe72a4def85aee9a6212c 100644 |
--- a/components/policy/core/common/mac_util.cc |
+++ b/components/policy/core/common/mac_util.cc |
@@ -27,8 +27,8 @@ void DictionaryEntryToValue(const void* key, const void* value, void* context) { |
PropertyToValue(static_cast<CFPropertyListRef>(value)); |
if (converted) { |
const std::string string = base::SysCFStringRefToUTF8(cf_key); |
- static_cast<base::DictionaryValue*>(context)->Set( |
- string, converted.release()); |
+ static_cast<base::DictionaryValue*>(context)->Set(string, |
+ std::move(converted)); |
} |
} |
} |