Index: chrome/browser/component_updater/supervised_user_whitelist_installer_unittest.cc |
diff --git a/chrome/browser/component_updater/supervised_user_whitelist_installer_unittest.cc b/chrome/browser/component_updater/supervised_user_whitelist_installer_unittest.cc |
index fe926866d0789c20c6a6f0ecb219ed3f0d02d51e..e1f0eb273feed97ad0613814cf71b298bd17812b 100644 |
--- a/chrome/browser/component_updater/supervised_user_whitelist_installer_unittest.cc |
+++ b/chrome/browser/component_updater/supervised_user_whitelist_installer_unittest.cc |
@@ -3,8 +3,6 @@ |
// found in the LICENSE file. |
#include <stddef.h> |
- |
-#include <utility> |
#include "base/bind.h" |
#include "base/callback.h" |
@@ -238,13 +236,13 @@ |
std::unique_ptr<base::DictionaryValue> whitelist_dict( |
new base::DictionaryValue); |
whitelist_dict->SetString("sites", kWhitelistFile); |
- manifest_.Set("whitelisted_content", std::move(whitelist_dict)); |
+ manifest_.Set("whitelisted_content", whitelist_dict.release()); |
large_icon_path_ = whitelist_version_directory_.AppendASCII(kLargeIconFile); |
std::unique_ptr<base::DictionaryValue> icons_dict( |
new base::DictionaryValue); |
icons_dict->SetString("128", kLargeIconFile); |
- manifest_.Set("icons", std::move(icons_dict)); |
+ manifest_.Set("icons", icons_dict.release()); |
manifest_.SetString("version", kVersion); |
@@ -253,8 +251,8 @@ |
std::unique_ptr<base::ListValue> clients(new base::ListValue); |
clients->AppendString(kClientId); |
clients->AppendString(kOtherClientId); |
- crx_dict->Set("clients", std::move(clients)); |
- pref_.Set(kCrxId, std::move(crx_dict)); |
+ crx_dict->Set("clients", clients.release()); |
+ pref_.Set(kCrxId, crx_dict.release()); |
} |
protected: |