| Index: sandbox/win/src/interception_unittest.cc
|
| diff --git a/sandbox/win/src/interception_unittest.cc b/sandbox/win/src/interception_unittest.cc
|
| index cc76767d7fd2f2226076d4156bb8d214a37a2873..0fc9b7cbe2ebf6af7b6477222a6df0da996c5e8e 100644
|
| --- a/sandbox/win/src/interception_unittest.cc
|
| +++ b/sandbox/win/src/interception_unittest.cc
|
| @@ -135,7 +135,7 @@ TEST(InterceptionManagerTest, BufferLayout1) {
|
| ASSERT_EQ(18, interceptions.interceptions_.size());
|
|
|
| size_t buffer_size = interceptions.GetBufferSize();
|
| - scoped_array<BYTE> local_buffer(new BYTE[buffer_size]);
|
| + scoped_ptr<BYTE[]> local_buffer(new BYTE[buffer_size]);
|
|
|
| ASSERT_TRUE(interceptions.SetupConfigBuffer(local_buffer.get(),
|
| buffer_size));
|
| @@ -188,7 +188,7 @@ TEST(InterceptionManagerTest, BufferLayout2) {
|
| ASSERT_EQ(5, interceptions.interceptions_.size());
|
|
|
| size_t buffer_size = interceptions.GetBufferSize();
|
| - scoped_array<BYTE> local_buffer(new BYTE[buffer_size]);
|
| + scoped_ptr<BYTE[]> local_buffer(new BYTE[buffer_size]);
|
|
|
| ASSERT_TRUE(interceptions.SetupConfigBuffer(local_buffer.get(),
|
| buffer_size));
|
|
|