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

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

Issue 2321223003: Revert of Move collectGarbage* methods to ThreadState (Closed)
Patch Set: 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 abcf3de1c7b0410892f8161998a94a90971b10d0..e3aa2f004f7cf33e11edaa4de5e8299a00b84c1a 100644
--- a/third_party/WebKit/Source/platform/testing/RunAllTests.cpp
+++ b/third_party/WebKit/Source/platform/testing/RunAllTests.cpp
@@ -43,7 +43,7 @@
int runTestSuite(base::TestSuite* testSuite)
{
int result = testSuite->Run();
- blink::ThreadState::current()-> collectAllGarbage();
+ blink::ThreadHeap::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