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

Unified Diff: Source/platform/WebThreadSupportingGC.cpp

Issue 1303153005: Introduce WebTaskRunner Patch 3/5 (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 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
Index: Source/platform/WebThreadSupportingGC.cpp
diff --git a/Source/platform/WebThreadSupportingGC.cpp b/Source/platform/WebThreadSupportingGC.cpp
index 151c2771748bbd699ec214c593a1d09776be9b97..a5493dc461bff01a94c76d468a3d7e58b7771681 100644
--- a/Source/platform/WebThreadSupportingGC.cpp
+++ b/Source/platform/WebThreadSupportingGC.cpp
@@ -51,7 +51,7 @@ void WebThreadSupportingGC::initialize()
m_pendingGCRunner = adoptPtr(new PendingGCRunner);
m_thread->addTaskObserver(m_pendingGCRunner.get());
ThreadState::attach();
- OwnPtr<MessageLoopInterruptor> interruptor = adoptPtr(new MessageLoopInterruptor(m_thread));
+ OwnPtr<MessageLoopInterruptor> interruptor = adoptPtr(new MessageLoopInterruptor(m_thread->defaultTaskRunner()));
ThreadState::current()->addInterruptor(interruptor.release());
}

Powered by Google App Engine
This is Rietveld 408576698