diff options
author | dcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-08 20:13:23 +0000 |
---|---|---|
committer | dcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-08 20:13:23 +0000 |
commit | c84c53d4f885f1b355213c575197255ea0945daf (patch) | |
tree | 541ea1e98b56d44779f6cccf29017cc7a26ad57a /remoting/base/compound_buffer_unittest.cc | |
parent | 7886251782519c0100a0b10d9185bc4e0026023b (diff) | |
download | chromium_src-c84c53d4f885f1b355213c575197255ea0945daf.zip chromium_src-c84c53d4f885f1b355213c575197255ea0945daf.tar.gz chromium_src-c84c53d4f885f1b355213c575197255ea0945daf.tar.bz2 |
Rewrite scoped_array<T> to scoped_ptr<T[]> in remoting/, Linux edition.
This changelist was automatically generated using a clang tool.
BUG=171111
Review URL: https://codereview.chromium.org/13642007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192873 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/base/compound_buffer_unittest.cc')
-rw-r--r-- | remoting/base/compound_buffer_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/base/compound_buffer_unittest.cc b/remoting/base/compound_buffer_unittest.cc index 5ad3dce..77cb484 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()); |