Index: Source/web/WebHeap.cpp |
diff --git a/Source/web/WebHeap.cpp b/Source/web/WebHeap.cpp |
index 83cf3ecccf272b95ae9c47504cbf32d1d2e5fed8..9556cd8dee04ac1a114d8e2f7e10bc40c63e41e0 100644 |
--- a/Source/web/WebHeap.cpp |
+++ b/Source/web/WebHeap.cpp |
@@ -37,7 +37,8 @@ namespace blink { |
WebHeap::SafePointScope::SafePointScope() |
{ |
- ThreadState::current()->enterSafePointWithPointers(this); |
+ RELEASE_ASSERT(!ThreadState::current()->isAtSafePoint()); |
+ ThreadState::current()->enterSafePoint(ThreadState::HeapPointersOnStack, this); |
} |
WebHeap::SafePointScope::~SafePointScope() |