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 2860b2c855581756d1d5312a3f0eee4e27b07b5c..2566ba92b40767cb5d2779d2a543d6d31ac631e1 100644 |
--- a/third_party/WebKit/Source/platform/heap/ThreadState.cpp |
+++ b/third_party/WebKit/Source/platform/heap/ThreadState.cpp |
@@ -1218,10 +1218,7 @@ void ThreadState::addInterruptor( |
std::unique_ptr<BlinkGCInterruptor> interruptor) { |
ASSERT(checkThread()); |
SafePointScope scope(BlinkGC::HeapPointersOnStack); |
- { |
- MutexLocker locker(m_heap->threadAttachMutex()); |
- m_interruptors.push_back(std::move(interruptor)); |
- } |
+ m_interruptors.push_back(std::move(interruptor)); |
} |
void ThreadState::registerStaticPersistentNode( |
@@ -1268,14 +1265,6 @@ void ThreadState::leaveStaticReferenceRegistrationDisabledScope() { |
} |
#endif |
-void ThreadState::lockThreadAttachMutex() { |
- m_heap->threadAttachMutex().lock(); |
-} |
- |
-void ThreadState::unlockThreadAttachMutex() { |
- m_heap->threadAttachMutex().unlock(); |
-} |
- |
void ThreadState::invokePreFinalizers() { |
ASSERT(checkThread()); |
ASSERT(!sweepForbidden()); |