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

Unified Diff: Source/modules/mediastream/RTCDataChannelEvent.cpp

Issue 173363002: Move mediastream module to oilpan transition types (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased 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/mediastream/RTCDataChannelEvent.h ('k') | Source/modules/mediastream/RTCIceCandidate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/mediastream/RTCDataChannelEvent.cpp
diff --git a/Source/modules/mediastream/RTCDataChannelEvent.cpp b/Source/modules/mediastream/RTCDataChannelEvent.cpp
index 1608182ecb3542714207ab4fc93a729c63f4205a..8ca3fddfa4e360ff03c7cfa80f4c90dbcc419c47 100644
--- a/Source/modules/mediastream/RTCDataChannelEvent.cpp
+++ b/Source/modules/mediastream/RTCDataChannelEvent.cpp
@@ -32,7 +32,7 @@ PassRefPtrWillBeRawPtr<RTCDataChannelEvent> RTCDataChannelEvent::create()
return adoptRefWillBeNoop(new RTCDataChannelEvent);
}
-PassRefPtrWillBeRawPtr<RTCDataChannelEvent> RTCDataChannelEvent::create(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<RTCDataChannel> channel)
+PassRefPtrWillBeRawPtr<RTCDataChannelEvent> RTCDataChannelEvent::create(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtrWillBeRawPtr<RTCDataChannel> channel)
{
return adoptRefWillBeNoop(new RTCDataChannelEvent(type, canBubble, cancelable, channel));
}
@@ -43,7 +43,7 @@ RTCDataChannelEvent::RTCDataChannelEvent()
ScriptWrappable::init(this);
}
-RTCDataChannelEvent::RTCDataChannelEvent(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<RTCDataChannel> channel)
+RTCDataChannelEvent::RTCDataChannelEvent(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtrWillBeRawPtr<RTCDataChannel> channel)
: Event(type, canBubble, cancelable)
, m_channel(channel)
{
@@ -66,6 +66,7 @@ const AtomicString& RTCDataChannelEvent::interfaceName() const
void RTCDataChannelEvent::trace(Visitor* visitor)
{
+ visitor->trace(m_channel);
Event::trace(visitor);
}
« no previous file with comments | « Source/modules/mediastream/RTCDataChannelEvent.h ('k') | Source/modules/mediastream/RTCIceCandidate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698