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

Unified Diff: remoting/protocol/message_decoder_unittest.cc

Issue 13642007: Rewrite scoped_array<T> to scoped_ptr<T[]> in remoting/, Linux edition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Manually rewrite Win files. 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 | « remoting/host/win/launch_process_with_token.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/message_decoder_unittest.cc
diff --git a/remoting/protocol/message_decoder_unittest.cc b/remoting/protocol/message_decoder_unittest.cc
index 24e89f46ce62ad71f7c79d223b01bb316379fd91..1926cecbb8cecf8f74ed5aefad3b4bad7e7eb5a6 100644
--- a/remoting/protocol/message_decoder_unittest.cc
+++ b/remoting/protocol/message_decoder_unittest.cc
@@ -50,7 +50,7 @@ void SimulateReadSequence(const int read_sequence[], int sequence_size) {
int size;
uint8* test_data;
PrepareData(&test_data, &size);
- scoped_array<uint8> memory_deleter(test_data);
+ scoped_ptr<uint8[]> memory_deleter(test_data);
// Then simulate using MessageDecoder to decode variable
// size of encoded data.
« no previous file with comments | « remoting/host/win/launch_process_with_token.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698