summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/core/html/MediaKeyEvent.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/html/MediaKeyEvent.h')
-rw-r--r--chromium/third_party/WebKit/Source/core/html/MediaKeyEvent.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/chromium/third_party/WebKit/Source/core/html/MediaKeyEvent.h b/chromium/third_party/WebKit/Source/core/html/MediaKeyEvent.h
index 370abafce6b..cf95046f657 100644
--- a/chromium/third_party/WebKit/Source/core/html/MediaKeyEvent.h
+++ b/chromium/third_party/WebKit/Source/core/html/MediaKeyEvent.h
@@ -43,21 +43,21 @@ struct MediaKeyEventInit : public EventInit {
unsigned short systemCode;
};
-class MediaKeyEvent : public Event {
+class MediaKeyEvent FINAL : public Event {
public:
virtual ~MediaKeyEvent();
- static PassRefPtr<MediaKeyEvent> create()
+ static PassRefPtrWillBeRawPtr<MediaKeyEvent> create()
{
- return adoptRef(new MediaKeyEvent);
+ return adoptRefWillBeNoop(new MediaKeyEvent);
}
- static PassRefPtr<MediaKeyEvent> create(const AtomicString& type, const MediaKeyEventInit& initializer)
+ static PassRefPtrWillBeRawPtr<MediaKeyEvent> create(const AtomicString& type, const MediaKeyEventInit& initializer)
{
- return adoptRef(new MediaKeyEvent(type, initializer));
+ return adoptRefWillBeNoop(new MediaKeyEvent(type, initializer));
}
- virtual const AtomicString& interfaceName() const;
+ virtual const AtomicString& interfaceName() const OVERRIDE;
String keySystem() const { return m_keySystem; }
String sessionId() const { return m_sessionId; }
@@ -68,6 +68,8 @@ public:
MediaKeyError* errorCode(bool& isNull) const { isNull = !m_errorCode; return m_errorCode.get(); }
unsigned short systemCode() const { return m_systemCode; }
+ virtual void trace(Visitor*) OVERRIDE;
+
private:
MediaKeyEvent();
MediaKeyEvent(const AtomicString& type, const MediaKeyEventInit& initializer);