diff options
author | dcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-07 00:58:17 +0000 |
---|---|---|
committer | dcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-07 00:58:17 +0000 |
commit | 4356f0f50514e835959fe7b2032cf73fc95a69d4 (patch) | |
tree | 32efb0bc1272a8a6d9a0c6413e18f1d2b3f984ac /net/websockets | |
parent | cde11b1f3969506d7fdf9699f3f3635f72d01b8a (diff) | |
download | chromium_src-4356f0f50514e835959fe7b2032cf73fc95a69d4.zip chromium_src-4356f0f50514e835959fe7b2032cf73fc95a69d4.tar.gz chromium_src-4356f0f50514e835959fe7b2032cf73fc95a69d4.tar.bz2 |
Rewrite scoped_array<T> to scoped_ptr<T[]> in net, Linux edition.
This changelist was automatically generated using a clang tool.
BUG=171111
Review URL: https://codereview.chromium.org/13612004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192764 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/websockets')
-rw-r--r-- | net/websockets/websocket_frame_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/websockets/websocket_frame_unittest.cc b/net/websockets/websocket_frame_unittest.cc index 800ae42..59f4719 100644 --- a/net/websockets/websocket_frame_unittest.cc +++ b/net/websockets/websocket_frame_unittest.cc @@ -418,7 +418,7 @@ TEST_F(WebSocketFrameTestMaskBenchmark, BenchmarkMaskShortPayload) { } TEST_F(WebSocketFrameTestMaskBenchmark, BenchmarkMaskLongPayload) { - scoped_array<char> payload(new char[kLongPayloadSize]); + scoped_ptr<char[]> payload(new char[kLongPayloadSize]); std::fill(payload.get(), payload.get() + kLongPayloadSize, 'a'); Benchmark(payload.get(), kLongPayloadSize); } |