Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(875)

Unified Diff: third_party/WebKit/Source/modules/csspaint/PaintWorkletTest.cpp

Issue 2321223003: Revert of Move collectGarbage* methods to ThreadState (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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());
}

Powered by Google App Engine
This is Rietveld 408576698