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

Unified Diff: mojo/edk/embedder/embedder.cc

Issue 1501343002: Prepare chrome to use the new Mojo EDK by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: disable turning on in this cl Created 5 years 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
Index: mojo/edk/embedder/embedder.cc
diff --git a/mojo/edk/embedder/embedder.cc b/mojo/edk/embedder/embedder.cc
index 35e55baae53a9d89254c70e8027177e0b2ba708b..b5363f37c26a08907e66cc5a9bba4906b80fcc70 100644
--- a/mojo/edk/embedder/embedder.cc
+++ b/mojo/edk/embedder/embedder.cc
@@ -28,14 +28,6 @@
namespace mojo {
namespace edk {
-namespace {
-
-// Note: Called on the I/O thread.
-void ShutdownIPCSupportHelper() {
-}
-
-} // namespace
-
namespace internal {
// Declared in embedder_internal.h.
@@ -150,11 +142,8 @@ void ShutdownIPCSupportOnIOThread() {
}
void ShutdownIPCSupport() {
- internal::g_io_thread_task_runner->PostTaskAndReply(
- FROM_HERE,
- base::Bind(&ShutdownIPCSupportHelper),
- base::Bind(&ProcessDelegate::OnShutdownComplete,
- base::Unretained(internal::g_process_delegate)));
+ // TODO(jam): remove ProcessDelegate from new EDK once the old EDK is gone.
+ internal::g_process_delegate->OnShutdownComplete();
}
ScopedMessagePipeHandle CreateMessagePipe(

Powered by Google App Engine
This is Rietveld 408576698