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

Unified Diff: Source/web/WebHeap.cpp

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
« no previous file with comments | « Source/platform/mediastream/MediaStreamSource.cpp ('k') | public/platform/WebMediaStream.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebHeap.cpp
diff --git a/Source/web/WebHeap.cpp b/Source/web/WebHeap.cpp
index d814b2dca22a295a8c0fda0b5f7adc9fa63ac4d7..4e02209d409da2f1ab7688162959bd0d16ed8d8b 100644
--- a/Source/web/WebHeap.cpp
+++ b/Source/web/WebHeap.cpp
@@ -31,7 +31,7 @@
#include "config.h"
#include "public/web/WebHeap.h"
-#include "platform/heap/ThreadState.h"
+#include "platform/heap/Handle.h"
namespace blink {
@@ -45,4 +45,20 @@ WebHeap::SafePointScope::~SafePointScope()
ThreadState::current()->leaveSafePoint();
}
+void WebHeap::collectGarbage()
Mads Ager (chromium) 2014/09/09 14:14:27 You are landing these changes in a separate change
+{
+ Heap::collectGarbage(ThreadState::HeapPointersOnStack);
+}
+
+void WebHeap::collectGarbageWithNoPointersOnStack()
+{
+ Heap::collectGarbage(ThreadState::NoHeapPointersOnStack);
+}
+
+void WebHeap::collectAllGarbage()
+{
+ Heap::collectAllGarbage();
+}
+
+
} // namespace blink
« no previous file with comments | « Source/platform/mediastream/MediaStreamSource.cpp ('k') | public/platform/WebMediaStream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698