Index: third_party/WebKit/Source/modules/fetch/BodyStreamBufferTest.cpp |
diff --git a/third_party/WebKit/Source/modules/fetch/BodyStreamBufferTest.cpp b/third_party/WebKit/Source/modules/fetch/BodyStreamBufferTest.cpp |
index 19fa1e3ffc5e36e3ba0e8c43fa61c4d144a58408..f969ce6aa5f7633b76e955fd8f068dc6362a2286 100644 |
--- a/third_party/WebKit/Source/modules/fetch/BodyStreamBufferTest.cpp |
+++ b/third_party/WebKit/Source/modules/fetch/BodyStreamBufferTest.cpp |
@@ -455,7 +455,7 @@ |
Persistent<BodyStreamBuffer> buffer = new BodyStreamBuffer(scope.getScriptState(), createFetchDataConsumerHandleFromWebHandle(std::move(handle))); |
buffer->startLoading(FetchDataLoader::createLoaderAsString(), client); |
- ThreadState::current()-> collectAllGarbage(); |
+ ThreadHeap::collectAllGarbage(); |
checkpoint.Call(1); |
testing::runPendingTasks(); |
checkpoint.Call(2); |