Index: sandbox/win/src/interception_unittest.cc |
diff --git a/sandbox/win/src/interception_unittest.cc b/sandbox/win/src/interception_unittest.cc |
index 7b7932af67ccdc7e33d7c580012f60bc82e21d19..a34f574e8c0fc3f3140441be075d4838525bc289 100644 |
--- a/sandbox/win/src/interception_unittest.cc |
+++ b/sandbox/win/src/interception_unittest.cc |
@@ -10,10 +10,10 @@ |
#include <stddef.h> |
#include <algorithm> |
+#include <memory> |
#include <set> |
#include "base/bits.h" |
-#include "base/memory/scoped_ptr.h" |
#include "sandbox/win/src/interception.h" |
#include "sandbox/win/src/interception_internal.h" |
#include "sandbox/win/src/interceptors.h" |
@@ -183,7 +183,7 @@ TEST(InterceptionManagerTest, BufferLayout1) { |
ASSERT_EQ(18u, interceptions.interceptions_.size()); |
size_t buffer_size = interceptions.GetBufferSize(); |
- scoped_ptr<BYTE[]> local_buffer(new BYTE[buffer_size]); |
+ std::unique_ptr<BYTE[]> local_buffer(new BYTE[buffer_size]); |
ASSERT_TRUE(interceptions.SetupConfigBuffer(local_buffer.get(), |
buffer_size)); |
@@ -236,7 +236,7 @@ TEST(InterceptionManagerTest, BufferLayout2) { |
ASSERT_EQ(5u, interceptions.interceptions_.size()); |
size_t buffer_size = interceptions.GetBufferSize(); |
- scoped_ptr<BYTE[]> local_buffer(new BYTE[buffer_size]); |
+ std::unique_ptr<BYTE[]> local_buffer(new BYTE[buffer_size]); |
ASSERT_TRUE(interceptions.SetupConfigBuffer(local_buffer.get(), |
buffer_size)); |