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

Unified Diff: public/web/WebHeap.h

Issue 543603003: Oilpan: Expose Heap::collectGarbage to the web layer (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
« no previous file with comments | « Source/web/WebHeap.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebHeap.h
diff --git a/public/web/WebHeap.h b/public/web/WebHeap.h
index b8d01b3af2b514f86d2fea7a4044bb85a236d917..fa4fdaed909153fab54ded45488f903e86170cab 100644
--- a/public/web/WebHeap.h
+++ b/public/web/WebHeap.h
@@ -47,6 +47,11 @@ public:
BLINK_EXPORT SafePointScope();
BLINK_EXPORT ~SafePointScope();
};
+
+ // These APIs are only for testing purposes and should not be used
+ // outside of tests.
+ BLINK_EXPORT static void collectGarbageForTesting();
+ BLINK_EXPORT static void collectAllGarbageForTesting();
};
} // namespace blink
« no previous file with comments | « Source/web/WebHeap.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698