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

Unified Diff: public/web/WebHeap.h

Issue 552653005: Oilpan: Move MediaStreamSource, MediaStreamComponent and MediaStreamDescriptor to oilpan's heap (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
« Source/web/WebHeap.cpp ('K') | « public/platform/WebMediaStreamTrack.h ('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..6f29367ac44ccb24ad2d653cad31afb0f857d02b 100644
--- a/public/web/WebHeap.h
+++ b/public/web/WebHeap.h
@@ -47,6 +47,12 @@ public:
BLINK_EXPORT SafePointScope();
BLINK_EXPORT ~SafePointScope();
};
+
+ // These APIs are only for testing purposes and should not be used
+ // outside of tests.
+ static void collectGarbage();
+ static void collectGarbageWithNoPointersOnStack();
+ static void collectAllGarbage();
};
} // namespace blink
« Source/web/WebHeap.cpp ('K') | « public/platform/WebMediaStreamTrack.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698