Index: extensions/common/extension_set_unittest.cc |
diff --git a/extensions/common/extension_set_unittest.cc b/extensions/common/extension_set_unittest.cc |
index 8674cc7b550e550d15b293b8bd736738289f2bb1..967fadbe23e30c848f427d9ce2c5d5240a8b134e 100644 |
--- a/extensions/common/extension_set_unittest.cc |
+++ b/extensions/common/extension_set_unittest.cc |
@@ -2,14 +2,16 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+#include "extensions/common/extension_set.h" |
+ |
+#include <memory> |
+ |
#include "base/files/file_path.h" |
#include "base/logging.h" |
#include "base/memory/ref_counted.h" |
-#include "base/memory/scoped_ptr.h" |
#include "base/values.h" |
#include "build/build_config.h" |
#include "extensions/common/extension.h" |
-#include "extensions/common/extension_set.h" |
#include "testing/gtest/include/gtest/gtest.h" |
namespace extensions { |
@@ -131,7 +133,7 @@ TEST(ExtensionSetTest, ExtensionSet) { |
CreateTestExtension("e", std::string(), std::string())); |
ASSERT_TRUE(ext5.get() && ext6.get()); |
- scoped_ptr<ExtensionSet> to_add(new ExtensionSet()); |
+ std::unique_ptr<ExtensionSet> to_add(new ExtensionSet()); |
// |ext3| is already in |extensions|, should not affect size. |
EXPECT_TRUE(to_add->Insert(ext3)); |
EXPECT_TRUE(to_add->Insert(ext5)); |