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

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

Issue 2307003002: Move collectGarbage* methods to ThreadState (Closed)
Patch Set: fix Created 4 years, 3 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 e3aa2f004f7cf33e11edaa4de5e8299a00b84c1a..abcf3de1c7b0410892f8161998a94a90971b10d0 100644
--- a/third_party/WebKit/Source/platform/testing/RunAllTests.cpp
+++ b/third_party/WebKit/Source/platform/testing/RunAllTests.cpp
@@ -43,7 +43,7 @@ namespace {
int runTestSuite(base::TestSuite* testSuite)
{
int result = testSuite->Run();
- blink::ThreadHeap::collectAllGarbage();
+ blink::ThreadState::current()-> collectAllGarbage();
return result;
}
« no previous file with comments | « third_party/WebKit/Source/platform/scroll/ScrollbarThemeAuraTest.cpp ('k') | third_party/WebKit/Source/web/WebHeap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698