Index: base/memory/aligned_memory_unittest.cc |
diff --git a/base/memory/aligned_memory_unittest.cc b/base/memory/aligned_memory_unittest.cc |
index b89e341faa7fd880d4ad1ff384932b44e038f3cd..abe0cf3ff5739ccc7443d4e15f45fa89461d6a4d 100644 |
--- a/base/memory/aligned_memory_unittest.cc |
+++ b/base/memory/aligned_memory_unittest.cc |
@@ -3,7 +3,9 @@ |
// found in the LICENSE file. |
#include "base/memory/aligned_memory.h" |
-#include "base/memory/scoped_ptr.h" |
+ |
+#include <memory> |
+ |
#include "build/build_config.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -92,7 +94,7 @@ TEST(AlignedMemoryTest, DynamicAllocation) { |
} |
TEST(AlignedMemoryTest, ScopedDynamicAllocation) { |
- scoped_ptr<float, base::AlignedFreeDeleter> p( |
+ std::unique_ptr<float, base::AlignedFreeDeleter> p( |
static_cast<float*>(base::AlignedAlloc(8, 8))); |
EXPECT_TRUE(p.get()); |
EXPECT_ALIGNED(p.get(), 8); |