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

Unified Diff: public/platform/WebMediaStreamSource.h

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, 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
Index: public/platform/WebMediaStreamSource.h
diff --git a/public/platform/WebMediaStreamSource.h b/public/platform/WebMediaStreamSource.h
index 58692287a9b053c1c168ca058d7ecd6d8fdf621f..d098de066fb1c3ac198c138b0d6c2e7f152aadd1 100644
--- a/public/platform/WebMediaStreamSource.h
+++ b/public/platform/WebMediaStreamSource.h
@@ -35,6 +35,9 @@
#include "WebNonCopyable.h"
#include "WebPrivatePtr.h"
#include "WebVector.h"
+#if INSIDE_BLINK
+#include "platform/heap/Handle.h"
+#endif
namespace blink {
@@ -57,6 +60,9 @@ public:
#endif
private:
+#if INSIDE_BLINK
+ GC_PLUGIN_IGNORE("")
+#endif
MediaStreamSource* m_owner;
haraken 2014/08/27 12:33:56 I'm not sure if I'm doing a right thing here. - B
zerny-chromium 2014/08/27 13:21:53 This raw pointer looks very unsafe, but is no more
tkent 2014/09/01 06:59:46 Resolving this raw pointer needs a lot of work, an
haraken 2014/09/01 07:10:44 Thanks, I filed a bug and added the bug number to
};
@@ -111,9 +117,8 @@ public:
BLINK_PLATFORM_EXPORT bool removeAudioConsumer(WebAudioDestinationConsumer*);
#if INSIDE_BLINK
- BLINK_PLATFORM_EXPORT WebMediaStreamSource(const WTF::PassRefPtr<MediaStreamSource>&);
+ BLINK_PLATFORM_EXPORT WebMediaStreamSource(MediaStreamSource*);
BLINK_PLATFORM_EXPORT WebMediaStreamSource& operator=(MediaStreamSource*);
- BLINK_PLATFORM_EXPORT operator WTF::PassRefPtr<MediaStreamSource>() const;
BLINK_PLATFORM_EXPORT operator MediaStreamSource*() const;
#endif

Powered by Google App Engine
This is Rietveld 408576698