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