Index: Source/modules/mediastream/RTCDataChannelEvent.h |
diff --git a/Source/modules/mediastream/RTCDataChannelEvent.h b/Source/modules/mediastream/RTCDataChannelEvent.h |
index f34d1c4868cb2048093dc1223b33120f3eb476eb..29d6b3ad9a1e2d733138fcd0b831e60964fd79da 100644 |
--- a/Source/modules/mediastream/RTCDataChannelEvent.h |
+++ b/Source/modules/mediastream/RTCDataChannelEvent.h |
@@ -36,7 +36,7 @@ public: |
virtual ~RTCDataChannelEvent(); |
static PassRefPtr<RTCDataChannelEvent> create(); |
- static PassRefPtr<RTCDataChannelEvent> create(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<RTCDataChannel>); |
+ static PassRefPtr<RTCDataChannelEvent> create(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtrWillBeRawPtr<RTCDataChannel>); |
RTCDataChannel* channel() const; |
@@ -46,9 +46,9 @@ public: |
private: |
RTCDataChannelEvent(); |
- RTCDataChannelEvent(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<RTCDataChannel>); |
+ RTCDataChannelEvent(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtrWillBeRawPtr<RTCDataChannel>); |
- RefPtr<RTCDataChannel> m_channel; |
+ RefPtrWillBePersistent<RTCDataChannel> m_channel; |
}; |
} // namespace WebCore |