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

Unified Diff: third_party/WebKit/Source/platform/heap/ThreadState.cpp

Issue 2691073004: Remove SafePointAwareMutexLocker (Closed)
Patch Set: Created 3 years, 10 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/heap/ThreadState.cpp
diff --git a/third_party/WebKit/Source/platform/heap/ThreadState.cpp b/third_party/WebKit/Source/platform/heap/ThreadState.cpp
index 6b2c93f9302c472ac554a562e35abcbedce99d4a..f1ca7fb2bafc2c1f42036ab33be3c289ed8b5bfe 100644
--- a/third_party/WebKit/Source/platform/heap/ThreadState.cpp
+++ b/third_party/WebKit/Source/platform/heap/ThreadState.cpp
@@ -1220,10 +1220,10 @@ void ThreadState::enterSafePoint(BlinkGC::StackState stackState,
m_heap->enterSafePoint(this);
}
-void ThreadState::leaveSafePoint(SafePointAwareMutexLocker* locker) {
+void ThreadState::leaveSafePoint() {
ASSERT(checkThread());
ASSERT(m_atSafePoint);
- m_heap->leaveSafePoint(this, locker);
+ m_heap->leaveSafePoint();
m_atSafePoint = false;
m_stackState = BlinkGC::HeapPointersOnStack;
clearSafePointScopeMarker();

Powered by Google App Engine
This is Rietveld 408576698