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

Unified Diff: mojo/edk/test/run_all_perftests.cc

Issue 2608403002: Add some perf tests to compare Mojo overhead. (Closed)
Patch Set: review comment Created 3 years, 11 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 | « ipc/run_all_perftests.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/test/run_all_perftests.cc
diff --git a/mojo/edk/test/run_all_perftests.cc b/mojo/edk/test/run_all_perftests.cc
index 50c41d7a758123999747f94e77bef48bd5170bbd..f426a2a5b199843607aeb1bebfb2696ee26b168b 100644
--- a/mojo/edk/test/run_all_perftests.cc
+++ b/mojo/edk/test/run_all_perftests.cc
@@ -21,10 +21,7 @@ int main(int argc, char** argv) {
mojo::edk::Init();
base::TestIOThread test_io_thread(base::TestIOThread::kAutoStart);
- // Leak this because its destructor calls mojo::edk::ShutdownIPCSupport which
- // really does nothing in the new EDK but does depend on the current message
- // loop, which is destructed inside base::LaunchUnitTests.
- new mojo::edk::test::ScopedIPCSupport(test_io_thread.task_runner());
+ mojo::edk::test::ScopedIPCSupport ipc_support(test_io_thread.task_runner());
mojo::test::TestSupport::Init(new mojo::edk::test::TestSupportImpl());
return test.Run();
« no previous file with comments | « ipc/run_all_perftests.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698