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

Unified Diff: third_party/WebKit/Source/modules/fetch/DataConsumerTeeTest.cpp

Issue 2307003002: Move collectGarbage* methods to ThreadState (Closed)
Patch Set: fix 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/DataConsumerTeeTest.cpp
diff --git a/third_party/WebKit/Source/modules/fetch/DataConsumerTeeTest.cpp b/third_party/WebKit/Source/modules/fetch/DataConsumerTeeTest.cpp
index d2f08ac53f684eac26f751216eeb66fd4d06a1ef..f3eed47b7fdc8adf559de89c0f99931f57360e3b 100644
--- a/third_party/WebKit/Source/modules/fetch/DataConsumerTeeTest.cpp
+++ b/third_party/WebKit/Source/modules/fetch/DataConsumerTeeTest.cpp
@@ -323,7 +323,7 @@ TEST(DataConsumerTeeTest, DetachBothDestinationsShouldStopSourceReader)
dest2 = nullptr;
// Collect garbage to finalize the source reader.
- ThreadHeap::collectAllGarbage();
+ ThreadState::current()-> collectAllGarbage();
context->detached()->wait();
}

Powered by Google App Engine
This is Rietveld 408576698