| Index: remoting/base/compound_buffer_unittest.cc
|
| diff --git a/remoting/base/compound_buffer_unittest.cc b/remoting/base/compound_buffer_unittest.cc
|
| index 5ad3dceb8f43d54c78da9c8e6077146face4a262..77cb48438105abf6b28b38212b609611ed1861d2 100644
|
| --- a/remoting/base/compound_buffer_unittest.cc
|
| +++ b/remoting/base/compound_buffer_unittest.cc
|
| @@ -137,7 +137,7 @@ class CompoundBufferTest : public testing::Test {
|
| static void ReadString(CompoundBufferInputStream* input,
|
| const std::string& str) {
|
| SCOPED_TRACE(str);
|
| - scoped_array<char> buffer(new char[str.size() + 1]);
|
| + scoped_ptr<char[]> buffer(new char[str.size() + 1]);
|
| buffer[str.size()] = '\0';
|
| EXPECT_EQ(ReadFromInput(input, buffer.get(), str.size()), str.size());
|
| EXPECT_STREQ(str.data(), buffer.get());
|
|
|