Index: chrome/browser/extensions/extension_override_apitest.cc |
diff --git a/chrome/browser/extensions/extension_override_apitest.cc b/chrome/browser/extensions/extension_override_apitest.cc |
index 21ce6d0513afaebc01b4a9f72310edc2f472ca71..b1c8ae395904a1a6e870402141403d52478d3c31 100644 |
--- a/chrome/browser/extensions/extension_override_apitest.cc |
+++ b/chrome/browser/extensions/extension_override_apitest.cc |
@@ -4,10 +4,6 @@ |
#include <stddef.h> |
-#include <utility> |
- |
-#include "base/memory/ptr_util.h" |
-#include "base/values.h" |
#include "build/build_config.h" |
#include "chrome/browser/extensions/extension_apitest.h" |
#include "chrome/browser/extensions/extension_service.h" |
@@ -278,7 +274,7 @@ |
// a preferences file without corresponding UnloadExtension() calls. This is |
// the same as the above test, except for that it is testing the case where |
// the file already contains dupes when an extension is loaded. |
- auto list = base::MakeUnique<base::ListValue>(); |
+ base::ListValue* list = new base::ListValue(); |
for (size_t i = 0; i < 3; ++i) { |
std::unique_ptr<base::DictionaryValue> dict(new base::DictionaryValue()); |
dict->SetString("entry", "http://www.google.com/"); |
@@ -289,7 +285,7 @@ |
{ |
DictionaryPrefUpdate update(browser()->profile()->GetPrefs(), |
ExtensionWebUI::kExtensionURLOverrides); |
- update.Get()->Set("history", std::move(list)); |
+ update.Get()->Set("history", list); |
} |
ASSERT_FALSE(CheckHistoryOverridesContainsNoDupes()); |