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

Unified Diff: third_party/WebKit/Source/modules/fetch/FetchBlobDataConsumerHandleTest.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/fetch/FetchBlobDataConsumerHandleTest.cpp
diff --git a/third_party/WebKit/Source/modules/fetch/FetchBlobDataConsumerHandleTest.cpp b/third_party/WebKit/Source/modules/fetch/FetchBlobDataConsumerHandleTest.cpp
index 8bd1ea4945852e59438d43d3e95c9687375abfed..a7f6a85451c8baf143e87cbb463802a025418a6d 100644
--- a/third_party/WebKit/Source/modules/fetch/FetchBlobDataConsumerHandleTest.cpp
+++ b/third_party/WebKit/Source/modules/fetch/FetchBlobDataConsumerHandleTest.cpp
@@ -77,7 +77,7 @@
{
m_dummyPageHolder = nullptr;
// We need this to collect garbage-collected mocks.
- ThreadState::current()-> collectAllGarbage();
+ ThreadHeap::collectAllGarbage();
}
Document& document() { return m_dummyPageHolder->document(); }
@@ -217,7 +217,7 @@
handle = nullptr;
reader = nullptr;
checkpoint.Call(3);
- ThreadState::current()-> collectAllGarbage();
+ ThreadHeap::collectAllGarbage();
checkpoint.Call(4);
}

Powered by Google App Engine
This is Rietveld 408576698