| Index: third_party/WebKit/Source/platform/scheduler/CancellableTaskFactoryTest.cpp
|
| diff --git a/third_party/WebKit/Source/platform/scheduler/CancellableTaskFactoryTest.cpp b/third_party/WebKit/Source/platform/scheduler/CancellableTaskFactoryTest.cpp
|
| index a189e3f75d8cc9d579875fe89515af856db3df85..8fba292281613a4893fe91b271437d0193af6054 100644
|
| --- a/third_party/WebKit/Source/platform/scheduler/CancellableTaskFactoryTest.cpp
|
| +++ b/third_party/WebKit/Source/platform/scheduler/CancellableTaskFactoryTest.cpp
|
| @@ -216,7 +216,7 @@
|
| GCObject* object = new GCObject();
|
| std::unique_ptr<WebTaskRunner::Task> task = wrapUnique(object->m_factory->cancelAndCreate());
|
| object = nullptr;
|
| - ThreadState::current()-> collectAllGarbage();
|
| + ThreadHeap::collectAllGarbage();
|
| task->run();
|
| // The owning object will have been GCed and the task will have
|
| // lost its weak reference. Verify that it wasn't invoked.
|
|
|