| 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 7aecd83c3e5cacd6040efddff228bcc4c186bc4b..f8b1a87f53bdb45815cb140f9f4d2e6f32c113d1 100644
|
| --- a/third_party/WebKit/Source/platform/heap/HeapTest.cpp
|
| +++ b/third_party/WebKit/Source/platform/heap/HeapTest.cpp
|
| @@ -3785,8 +3785,7 @@ TEST(HeapTest, CheckAndMarkPointer) {
|
| {
|
| TestGCScope scope(BlinkGC::HeapPointersOnStack);
|
| ThreadState::GCForbiddenScope gcScope(ThreadState::current());
|
| - Visitor visitor(ThreadState::current(),
|
| - VisitorMarkingMode::ThreadLocalMarking);
|
| + Visitor visitor(ThreadState::current(), VisitorMarkingMode::GlobalMarking);
|
| EXPECT_TRUE(scope.allThreadsParked()); // Fail the test if we could not
|
| // park all threads.
|
| heap.flushHeapDoesNotContainCache();
|
| @@ -3812,8 +3811,7 @@ TEST(HeapTest, CheckAndMarkPointer) {
|
| {
|
| TestGCScope scope(BlinkGC::HeapPointersOnStack);
|
| ThreadState::GCForbiddenScope gcScope(ThreadState::current());
|
| - Visitor visitor(ThreadState::current(),
|
| - VisitorMarkingMode::ThreadLocalMarking);
|
| + Visitor visitor(ThreadState::current(), VisitorMarkingMode::GlobalMarking);
|
| EXPECT_TRUE(scope.allThreadsParked());
|
| heap.flushHeapDoesNotContainCache();
|
| for (size_t i = 0; i < objectAddresses.size(); i++) {
|
|
|