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()); |
} |