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

Unified Diff: Source/core/workers/WorkerRunLoop.cpp

Issue 100433005: [oilpan] Rename PauseScope to SafePointScope (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Created 7 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: 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);
}

Powered by Google App Engine
This is Rietveld 408576698