summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/modules/mediastream/RTCDataChannelEvent.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/modules/mediastream/RTCDataChannelEvent.h')
-rw-r--r--chromium/third_party/WebKit/Source/modules/mediastream/RTCDataChannelEvent.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/chromium/third_party/WebKit/Source/modules/mediastream/RTCDataChannelEvent.h b/chromium/third_party/WebKit/Source/modules/mediastream/RTCDataChannelEvent.h
index 2d05e2724b3..d4862ab59fe 100644
--- a/chromium/third_party/WebKit/Source/modules/mediastream/RTCDataChannelEvent.h
+++ b/chromium/third_party/WebKit/Source/modules/mediastream/RTCDataChannelEvent.h
@@ -25,28 +25,30 @@
#ifndef RTCDataChannelEvent_h
#define RTCDataChannelEvent_h
-#include "core/events/Event.h"
+#include "modules/EventModules.h"
#include "modules/mediastream/RTCDataChannel.h"
#include "wtf/text/AtomicString.h"
namespace WebCore {
-class RTCDataChannelEvent : public Event {
+class RTCDataChannelEvent FINAL : public Event {
public:
virtual ~RTCDataChannelEvent();
- static PassRefPtr<RTCDataChannelEvent> create();
- static PassRefPtr<RTCDataChannelEvent> create(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<RTCDataChannel>);
+ static PassRefPtrWillBeRawPtr<RTCDataChannelEvent> create();
+ static PassRefPtrWillBeRawPtr<RTCDataChannelEvent> create(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtrWillBeRawPtr<RTCDataChannel>);
RTCDataChannel* channel() const;
- virtual const AtomicString& interfaceName() const;
+ virtual const AtomicString& interfaceName() const OVERRIDE;
+
+ virtual void trace(Visitor*) OVERRIDE;
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;
+ RefPtrWillBeMember<RTCDataChannel> m_channel;
};
} // namespace WebCore