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

Unified Diff: Source/modules/mediastream/MediaStream.h

Issue 307433003: Oilpan: Allocate all EventTarget derived types on the manged heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 7 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/modules/mediasource/SourceBufferList.cpp ('k') | Source/modules/mediastream/MediaStream.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/mediastream/MediaStream.h
diff --git a/Source/modules/mediastream/MediaStream.h b/Source/modules/mediastream/MediaStream.h
index 8a1250114e64394111143dfb82df05360ffc2c0b..8b0394b7fa32042544036cca682368d55a5c65a7 100644
--- a/Source/modules/mediastream/MediaStream.h
+++ b/Source/modules/mediastream/MediaStream.h
@@ -42,7 +42,8 @@ class ExceptionState;
class MediaStream FINAL : public RefCountedWillBeRefCountedGarbageCollected<MediaStream>, public ScriptWrappable,
public URLRegistrable, public MediaStreamDescriptorClient, public EventTargetWithInlineData, public ContextLifecycleObserver {
- DEFINE_EVENT_TARGET_REFCOUNTING(RefCountedWillBeRefCountedGarbageCollected<MediaStream>);
+ REFCOUNTED_EVENT_TARGET(MediaStream);
+ WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(MediaStream);
public:
static PassRefPtrWillBeRawPtr<MediaStream> create(ExecutionContext*);
static PassRefPtrWillBeRawPtr<MediaStream> create(ExecutionContext*, PassRefPtrWillBeRawPtr<MediaStream>);
@@ -84,7 +85,7 @@ public:
// URLRegistrable
virtual URLRegistry& registry() const OVERRIDE;
- void trace(Visitor*);
+ virtual void trace(Visitor*) OVERRIDE;
private:
MediaStream(ExecutionContext*, PassRefPtr<MediaStreamDescriptor>);
« no previous file with comments | « Source/modules/mediasource/SourceBufferList.cpp ('k') | Source/modules/mediastream/MediaStream.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698