Index: Source/core/workers/WorkerRunLoop.cpp |
diff --git a/Source/core/workers/WorkerRunLoop.cpp b/Source/core/workers/WorkerRunLoop.cpp |
index 9b7842d01b55de0ae2c17fbbb9858f036269ef70..7f9a85890fd0ec086d2cd385391f3eed267dd11f 100644 |
--- a/Source/core/workers/WorkerRunLoop.cpp |
+++ b/Source/core/workers/WorkerRunLoop.cpp |
@@ -161,7 +161,7 @@ MessageQueueWaitResult WorkerRunLoop::runInMode(WorkerContext* context, const Mo |
// FIXME(oilpan): The WorkerContext is kept alive by a persistent handle in WorkerThread.h |
// and therefore there are no unknown heap pointers on the stack at this point. |
// We should probably make that more clear somehow. |
- ThreadState::PauseScope paused(ThreadState::NoHeapPointersOnStack); |
+ ThreadState::SafePointScope safePointScope(ThreadState::NoHeapPointersOnStack); |
task = m_messageQueue.waitForMessageFilteredWithTimeout(result, predicate, absoluteTime); |
} |