Index: base/win/scoped_comptr_unittest.cc |
diff --git a/base/win/scoped_comptr_unittest.cc b/base/win/scoped_comptr_unittest.cc |
index 23090b043664dae7f000db3ab3c43b33585b54e3..988c4690c5ef7fcb5d2287cee20316ef8abad672 100644 |
--- a/base/win/scoped_comptr_unittest.cc |
+++ b/base/win/scoped_comptr_unittest.cc |
@@ -6,7 +6,8 @@ |
#include <shlobj.h> |
-#include "base/memory/scoped_ptr.h" |
+#include <memory> |
+ |
#include "base/win/scoped_com_initializer.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -84,7 +85,7 @@ TEST(ScopedComPtrTest, ScopedComPtrVector) { |
typedef ScopedComPtr<Dummy, &dummy_iid> Ptr; |
std::vector<Ptr> bleh; |
- scoped_ptr<Dummy> p(new Dummy); |
+ std::unique_ptr<Dummy> p(new Dummy); |
{ |
Ptr p2(p.get()); |
EXPECT_EQ(p->adds, 1); |