| Index: third_party/WebKit/Source/platform/testing/RunAllTests.cpp
|
| diff --git a/third_party/WebKit/Source/platform/testing/RunAllTests.cpp b/third_party/WebKit/Source/platform/testing/RunAllTests.cpp
|
| index a632580b366aae65e2e6e437321baf145ac810f4..9e29ae23916695d47b5fb1e0c79296542654779e 100644
|
| --- a/third_party/WebKit/Source/platform/testing/RunAllTests.cpp
|
| +++ b/third_party/WebKit/Source/platform/testing/RunAllTests.cpp
|
| @@ -61,7 +61,7 @@ double dummyCurrentTime()
|
| int runTestSuite(base::TestSuite* testSuite)
|
| {
|
| int result = testSuite->Run();
|
| - blink::Heap::collectAllGarbage();
|
| + blink::ThreadHeap::collectAllGarbage();
|
| return result;
|
| }
|
|
|
| @@ -94,7 +94,7 @@ int main(int argc, char** argv)
|
| platformConfig.compositorSupport = &compositorSupport;
|
| blink::TestingPlatformSupport platform(platformConfig);
|
|
|
| - blink::Heap::init();
|
| + blink::ProcessHeap::init();
|
| blink::ThreadState::attachMainThread();
|
| blink::ThreadState::current()->registerTraceDOMWrappers(nullptr, nullptr);
|
| blink::EventTracer::initialize();
|
| @@ -108,7 +108,7 @@ int main(int argc, char** argv)
|
| result = base::LaunchUnitTests(argc, argv, base::Bind(runTestSuite, base::Unretained(&testSuite)));
|
|
|
| blink::ThreadState::detachMainThread();
|
| - blink::Heap::shutdown();
|
| + blink::ProcessHeap::shutdown();
|
| }
|
| blink::CompositorFactory::shutdown();
|
| WTF::shutdown();
|
|
|