| Index: third_party/WebKit/Source/platform/heap/RunAllTests.cpp
|
| diff --git a/third_party/WebKit/Source/platform/heap/RunAllTests.cpp b/third_party/WebKit/Source/platform/heap/RunAllTests.cpp
|
| index ff5966f0370e0091b1a1e1fb183c29948d869161..a20c0153963ce8e3a22e41c92804cf70cb58c7d5 100644
|
| --- a/third_party/WebKit/Source/platform/heap/RunAllTests.cpp
|
| +++ b/third_party/WebKit/Source/platform/heap/RunAllTests.cpp
|
| @@ -52,10 +52,9 @@
|
| int runHelper(base::TestSuite* testSuite)
|
| {
|
| BlinkTestEnvironmentScope blinkTestEnvironment;
|
| - blink::ThreadState* currentThreadState = blink::ThreadState::current();
|
| - currentThreadState->registerTraceDOMWrappers(nullptr, nullptr, nullptr, nullptr);
|
| + blink::ThreadState::current()->registerTraceDOMWrappers(nullptr, nullptr, nullptr, nullptr);
|
| int result = testSuite->Run();
|
| - currentThreadState->collectAllGarbage();
|
| + blink::ThreadHeap::collectAllGarbage();
|
| return result;
|
| }
|
|
|
|
|