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

Unified Diff: Source/platform/heap/RunAllTests.cpp

Issue 452723002: Oilpan: blink_heap_unittests: Test case have memory leak checked by Lsan (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: change collectGarbage(...) to collectAllGarbage() in HeapTest main() Created 6 years, 4 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
« no previous file with comments | « Source/platform/heap/HeapTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/heap/RunAllTests.cpp
diff --git a/Source/platform/heap/RunAllTests.cpp b/Source/platform/heap/RunAllTests.cpp
index ad755437022245a72e73c2d57f0532df497f449e..03dd2507e256f9e4d287bd95ecbe5f723f8f882b 100644
--- a/Source/platform/heap/RunAllTests.cpp
+++ b/Source/platform/heap/RunAllTests.cpp
@@ -58,6 +58,7 @@ int main(int argc, char** argv)
blink::ThreadState::attachMainThread();
blink::EventTracer::initialize();
int result = base::RunUnitTestsUsingBaseTestSuite(argc, argv);
+ blink::Heap::collectAllGarbage();
blink::ThreadState::detachMainThread();
blink::Heap::shutdown();
return result;
« no previous file with comments | « Source/platform/heap/HeapTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698