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

Unified Diff: third_party/WebKit/Source/platform/testing/RunAllTests.cpp

Issue 2620633004: Remove mojo::edk::test::ScopedIPCSupport (Closed)
Patch Set: . 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 | « third_party/WebKit/Source/platform/testing/DEPS ('k') | tools/ipc_fuzzer/message_replay/replay_process.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/testing/RunAllTests.cpp
diff --git a/third_party/WebKit/Source/platform/testing/RunAllTests.cpp b/third_party/WebKit/Source/platform/testing/RunAllTests.cpp
index 837dd9fc9380f0e8f1e1268f5ef32be95cacbcd8..67bd9c9ce5cd7d828c4f725119830779e6d73863 100644
--- a/third_party/WebKit/Source/platform/testing/RunAllTests.cpp
+++ b/third_party/WebKit/Source/platform/testing/RunAllTests.cpp
@@ -33,7 +33,7 @@
#include "base/test/test_io_thread.h"
#include "base/test/test_suite.h"
#include "mojo/edk/embedder/embedder.h"
-#include "mojo/edk/test/scoped_ipc_support.h"
+#include "mojo/edk/embedder/scoped_ipc_support.h"
#include "platform/heap/Heap.h"
#include "platform/testing/TestingPlatformSupport.h"
#include <memory>
@@ -56,9 +56,9 @@ int main(int argc, char** argv) {
mojo::edk::Init();
base::TestIOThread testIoThread(base::TestIOThread::kAutoStart);
- std::unique_ptr<mojo::edk::test::ScopedIPCSupport> ipcSupport(
- WTF::wrapUnique(
- new mojo::edk::test::ScopedIPCSupport(testIoThread.task_runner())));
+ mojo::edk::ScopedIPCSupport ipcSupport(
+ testIoThread.task_runner(),
+ mojo::edk::ScopedIPCSupport::ShutdownPolicy::CLEAN);
result = base::LaunchUnitTests(
argc, argv, base::Bind(runTestSuite, base::Unretained(&testSuite)));
}
« no previous file with comments | « third_party/WebKit/Source/platform/testing/DEPS ('k') | tools/ipc_fuzzer/message_replay/replay_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698