summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/modules/mediastream/RTCIceCandidateEvent.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/modules/mediastream/RTCIceCandidateEvent.h')
-rw-r--r--chromium/third_party/WebKit/Source/modules/mediastream/RTCIceCandidateEvent.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/chromium/third_party/WebKit/Source/modules/mediastream/RTCIceCandidateEvent.h b/chromium/third_party/WebKit/Source/modules/mediastream/RTCIceCandidateEvent.h
index be7eab7d5c3..99280464572 100644
--- a/chromium/third_party/WebKit/Source/modules/mediastream/RTCIceCandidateEvent.h
+++ b/chromium/third_party/WebKit/Source/modules/mediastream/RTCIceCandidateEvent.h
@@ -25,28 +25,30 @@
#ifndef RTCIceCandidateEvent_h
#define RTCIceCandidateEvent_h
-#include "core/events/Event.h"
+#include "modules/EventModules.h"
#include "wtf/text/AtomicString.h"
namespace WebCore {
class RTCIceCandidate;
-class RTCIceCandidateEvent : public Event {
+class RTCIceCandidateEvent FINAL : public Event {
public:
virtual ~RTCIceCandidateEvent();
- static PassRefPtr<RTCIceCandidateEvent> create();
- static PassRefPtr<RTCIceCandidateEvent> create(bool canBubble, bool cancelable, PassRefPtr<RTCIceCandidate>);
+ static PassRefPtrWillBeRawPtr<RTCIceCandidateEvent> create();
+ static PassRefPtrWillBeRawPtr<RTCIceCandidateEvent> create(bool canBubble, bool cancelable, PassRefPtrWillBeRawPtr<RTCIceCandidate>);
RTCIceCandidate* candidate() const;
- virtual const AtomicString& interfaceName() const;
+ virtual const AtomicString& interfaceName() const OVERRIDE;
+
+ virtual void trace(Visitor*) OVERRIDE;
private:
RTCIceCandidateEvent();
- RTCIceCandidateEvent(bool canBubble, bool cancelable, PassRefPtr<RTCIceCandidate>);
+ RTCIceCandidateEvent(bool canBubble, bool cancelable, PassRefPtrWillBeRawPtr<RTCIceCandidate>);
- RefPtr<RTCIceCandidate> m_candidate;
+ RefPtrWillBeMember<RTCIceCandidate> m_candidate;
};
} // namespace WebCore