Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(464)

Unified Diff: sandbox/win/src/interception_unittest.cc

Issue 13888007: Rewrite scoped_array<T> to scoped_ptr<T[]> in sandbox. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sandbox/win/src/interception.cc ('k') | sandbox/win/src/service_resolver_32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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));
« no previous file with comments | « sandbox/win/src/interception.cc ('k') | sandbox/win/src/service_resolver_32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698