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

Unified Diff: tools/ipc_fuzzer/message_dump/message_dump.cc

Issue 2972773004: Remove ScopedVector from tools/ipc_fuzzer/. (Closed)
Patch Set: rev Created 3 years, 5 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 | « tools/ipc_fuzzer/fuzzer/fuzzer_main.cc ('k') | tools/ipc_fuzzer/message_lib/message_file.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/ipc_fuzzer/message_dump/message_dump.cc
diff --git a/tools/ipc_fuzzer/message_dump/message_dump.cc b/tools/ipc_fuzzer/message_dump/message_dump.cc
index 2c81545a823a20d7ea83b349bff6408be32ea323..bc650e7bace8f6509a0952b5c38ac0341a0b15f8 100644
--- a/tools/ipc_fuzzer/message_dump/message_dump.cc
+++ b/tools/ipc_fuzzer/message_dump/message_dump.cc
@@ -3,6 +3,7 @@
// found in the LICENSE file.
#include "base/files/file_path.h"
+#include "base/memory/ptr_util.h"
#include "base/process/process.h"
#include "base/strings/string_number_conversions.h"
#include "build/build_config.h"
@@ -31,7 +32,7 @@ class IPCDump : public IPC::ChannelProxy::OutgoingMessageFilter {
}
IPC::Message* Rewrite(IPC::Message* message) override {
- messages_.push_back(new IPC::Message(*message));
+ messages_.push_back(base::MakeUnique<IPC::Message>(*message));
return message;
}
« no previous file with comments | « tools/ipc_fuzzer/fuzzer/fuzzer_main.cc ('k') | tools/ipc_fuzzer/message_lib/message_file.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698