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

Unified Diff: third_party/WebKit/Source/platform/testing/RunAllTests.cpp

Issue 1845543002: Rename Heap to ThreadHeap (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/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 01aec52cfc6779372596622853c3bd0b6cb21113..ccb0d227b8e886dbc56ca8e4be14beeb7598fbcc 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;
}
@@ -95,7 +95,7 @@ int main(int argc, char** argv)
platformConfig.compositorSupport = &compositorSupport;
blink::TestingPlatformSupport platform(platformConfig);
- blink::Heap::init();
+ blink::ThreadHeap::init();
blink::ThreadState::attachMainThread();
blink::ThreadState::current()->registerTraceDOMWrappers(nullptr, nullptr);
blink::EventTracer::initialize();
@@ -109,7 +109,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::ThreadHeap::shutdown();
}
blink::CompositorFactory::shutdown();
WTF::shutdown();
« no previous file with comments | « third_party/WebKit/Source/platform/scroll/ScrollableAreaTest.cpp ('k') | third_party/WebKit/Source/web/WebFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698