Index: chrome/browser/ui/webui/cookies_tree_model_util.cc |
diff --git a/chrome/browser/ui/webui/cookies_tree_model_util.cc b/chrome/browser/ui/webui/cookies_tree_model_util.cc |
index 0d9e80aa052a5a8e6525b56bc99e4375e58ad958..61414033f84a7e5cc59a585eab930af7af48139e 100644 |
--- a/chrome/browser/ui/webui/cookies_tree_model_util.cc |
+++ b/chrome/browser/ui/webui/cookies_tree_model_util.cc |
@@ -9,7 +9,6 @@ |
#include <vector> |
#include "base/i18n/time_formatting.h" |
-#include "base/memory/ptr_util.h" |
#include "base/stl_util.h" |
#include "base/strings/string_number_conversions.h" |
#include "base/strings/string_split.h" |
@@ -256,14 +255,14 @@ |
dict->SetString(kKeyOrigin, service_worker_info.origin.spec()); |
dict->SetString(kKeySize, |
ui::FormatBytes(service_worker_info.total_size_bytes)); |
- auto scopes = base::MakeUnique<base::ListValue>(); |
+ base::ListValue* scopes = new base::ListValue; |
for (std::vector<GURL>::const_iterator it = |
service_worker_info.scopes.begin(); |
it != service_worker_info.scopes.end(); |
++it) { |
scopes->AppendString(it->spec()); |
} |
- dict->Set(kKeyScopes, std::move(scopes)); |
+ dict->Set(kKeyScopes, scopes); |
break; |
} |
case CookieTreeNode::DetailedInfo::TYPE_CACHE_STORAGE: { |
@@ -306,7 +305,7 @@ |
const extensions::ExtensionSet* protecting_apps = |
node.GetModel()->ExtensionsProtectingNode(node); |
if (protecting_apps && !protecting_apps->is_empty()) { |
- auto app_infos = base::MakeUnique<base::ListValue>(); |
+ base::ListValue* app_infos = new base::ListValue; |
for (extensions::ExtensionSet::const_iterator it = protecting_apps->begin(); |
it != protecting_apps->end(); ++it) { |
std::unique_ptr<base::DictionaryValue> app_info( |
@@ -315,7 +314,7 @@ |
app_info->SetString(kKeyName, (*it)->name()); |
app_infos->Append(std::move(app_info)); |
} |
- dict->Set(kKeyAppsProtectingThis, std::move(app_infos)); |
+ dict->Set(kKeyAppsProtectingThis, app_infos); |
} |
#endif |