| Index: third_party/WebKit/Source/modules/csspaint/PaintWorkletTest.cpp
|
| diff --git a/third_party/WebKit/Source/modules/csspaint/PaintWorkletTest.cpp b/third_party/WebKit/Source/modules/csspaint/PaintWorkletTest.cpp
|
| index 70b4c8824c897533f965df84910c8196c564ce96..f11db68f310a4d5088f44efe7b45fe10b0b5935e 100644
|
| --- a/third_party/WebKit/Source/modules/csspaint/PaintWorkletTest.cpp
|
| +++ b/third_party/WebKit/Source/modules/csspaint/PaintWorkletTest.cpp
|
| @@ -55,7 +55,7 @@
|
| ASSERT(handle.isWeak());
|
|
|
| // Run a GC, persistent shouldn't have been collected yet.
|
| - ThreadState::current()-> collectAllGarbage();
|
| + ThreadHeap::collectAllGarbage();
|
| V8GCController::collectAllGarbageForTesting(isolate);
|
| ASSERT(!handle.isEmpty());
|
|
|
| @@ -63,7 +63,7 @@
|
| m_page.reset();
|
|
|
| // Run a GC, the persistent should have been collected.
|
| - ThreadState::current()-> collectAllGarbage();
|
| + ThreadHeap::collectAllGarbage();
|
| V8GCController::collectAllGarbageForTesting(isolate);
|
| ASSERT(handle.isEmpty());
|
| }
|
|
|