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

Unified Diff: third_party/WebKit/Source/platform/TaskSynchronizer.cpp

Issue 1402103004: Oilpan: Factor out GC-related enum definitions to BlinkGC.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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: third_party/WebKit/Source/platform/TaskSynchronizer.cpp
diff --git a/third_party/WebKit/Source/platform/TaskSynchronizer.cpp b/third_party/WebKit/Source/platform/TaskSynchronizer.cpp
index e4fbb92b8fee791604afbd3d6b4bfee2d93a3e2f..075d3b110d89f16a3b16533a8b43582399b372ef 100644
--- a/third_party/WebKit/Source/platform/TaskSynchronizer.cpp
+++ b/third_party/WebKit/Source/platform/TaskSynchronizer.cpp
@@ -44,7 +44,7 @@ void TaskSynchronizer::waitForTaskCompletion()
if (ThreadState::current()) {
// Prevent the deadlock between park request by other threads and blocking
// by m_synchronousCondition.
- SafePointScope scope(ThreadState::HeapPointersOnStack);
+ SafePointScope scope(BlinkGC::HeapPointersOnStack);
waitForTaskCompletionInternal();
} else {
// If this thread is already detached, we no longer need to enter a safe point scope.

Powered by Google App Engine
This is Rietveld 408576698