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

Unified Diff: Source/web/WebHeap.cpp

Issue 509933002: Oilpan: Move MediaStreamSource, MediaStreamComponent and MediaStreamDescriptor to oilpan's heap 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
Index: Source/web/WebHeap.cpp
diff --git a/Source/web/WebHeap.cpp b/Source/web/WebHeap.cpp
index d814b2dca22a295a8c0fda0b5f7adc9fa63ac4d7..bf45e4591d3581c016ae3440251cdb4abe33a1ad 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,9 @@ WebHeap::SafePointScope::~SafePointScope()
ThreadState::current()->leaveSafePoint();
}
+void WebHeap::collectGarbage()
+{
+ Heap::collectGarbage(ThreadState::HeapPointersOnStack);
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698