| 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 8a23cae263261d1f4c6729277ee7019290702a5c..43612f8c6da5f6b5f82aaf0ddb367650cbf468ac 100644
|
| --- a/third_party/WebKit/Source/modules/csspaint/PaintWorkletTest.cpp
|
| +++ b/third_party/WebKit/Source/modules/csspaint/PaintWorkletTest.cpp
|
| @@ -64,7 +64,7 @@ TEST_F(PaintWorkletTest, GarbageCollectionOfCSSPaintDefinition)
|
| ASSERT(handle.isWeak());
|
|
|
| // Run a GC, persistent shouldn't have been collected yet.
|
| - Heap::collectAllGarbage();
|
| + ThreadHeap::collectAllGarbage();
|
| V8GCController::collectAllGarbageForTesting(isolate);
|
| ASSERT(!handle.isEmpty());
|
|
|
| @@ -72,7 +72,7 @@ TEST_F(PaintWorkletTest, GarbageCollectionOfCSSPaintDefinition)
|
| m_page.clear();
|
|
|
| // Run a GC, the persistent should have been collected.
|
| - Heap::collectAllGarbage();
|
| + ThreadHeap::collectAllGarbage();
|
| V8GCController::collectAllGarbageForTesting(isolate);
|
| ASSERT(handle.isEmpty());
|
| }
|
|
|