| Index: third_party/WebKit/Source/platform/heap/HeapTest.cpp
|
| diff --git a/third_party/WebKit/Source/platform/heap/HeapTest.cpp b/third_party/WebKit/Source/platform/heap/HeapTest.cpp
|
| index 7b08f91a2732e650abb1ef9ec8bae3da7b0c0bd1..04b6e40969c9bab3f0f8dbc3286025d5cd4ecaad 100644
|
| --- a/third_party/WebKit/Source/platform/heap/HeapTest.cpp
|
| +++ b/third_party/WebKit/Source/platform/heap/HeapTest.cpp
|
| @@ -5422,7 +5422,7 @@ class DestructorLockingObject
|
| }
|
|
|
| virtual ~DestructorLockingObject() {
|
| - SafePointAwareMutexLocker lock(recursiveMutex());
|
| + MutexLocker lock(recursiveMutex());
|
| ++s_destructorCalls;
|
| }
|
|
|
| @@ -6102,7 +6102,7 @@ TEST(HeapTest, CrossThreadWeakPersistent) {
|
| object);
|
| object = nullptr;
|
| {
|
| - SafePointAwareMutexLocker recursiveMutexLocker(recursiveMutex());
|
| + MutexLocker recursiveMutexLocker(recursiveMutex());
|
| EXPECT_EQ(0, DestructorLockingObject::s_destructorCalls);
|
| }
|
|
|
| @@ -6116,7 +6116,7 @@ TEST(HeapTest, CrossThreadWeakPersistent) {
|
| // Step 5: Make sure the weak persistent is cleared.
|
| EXPECT_FALSE(crossThreadWeakPersistent.get());
|
| {
|
| - SafePointAwareMutexLocker recursiveMutexLocker(recursiveMutex());
|
| + MutexLocker recursiveMutexLocker(recursiveMutex());
|
| EXPECT_EQ(1, DestructorLockingObject::s_destructorCalls);
|
| }
|
|
|
|
|