diff options
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/events/WebKitAnimationEvent.h')
-rw-r--r-- | chromium/third_party/WebKit/Source/core/events/WebKitAnimationEvent.h | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/chromium/third_party/WebKit/Source/core/events/WebKitAnimationEvent.h b/chromium/third_party/WebKit/Source/core/events/WebKitAnimationEvent.h index b91c98005bd..0ce4ed035b0 100644 --- a/chromium/third_party/WebKit/Source/core/events/WebKitAnimationEvent.h +++ b/chromium/third_party/WebKit/Source/core/events/WebKitAnimationEvent.h @@ -40,19 +40,19 @@ struct WebKitAnimationEventInit : public EventInit { double elapsedTime; }; -class WebKitAnimationEvent : public Event { +class WebKitAnimationEvent FINAL : public Event { public: - static PassRefPtr<WebKitAnimationEvent> create() + static PassRefPtrWillBeRawPtr<WebKitAnimationEvent> create() { - return adoptRef(new WebKitAnimationEvent); + return adoptRefWillBeNoop(new WebKitAnimationEvent); } - static PassRefPtr<WebKitAnimationEvent> create(const AtomicString& type, const String& animationName, double elapsedTime) + static PassRefPtrWillBeRawPtr<WebKitAnimationEvent> create(const AtomicString& type, const String& animationName, double elapsedTime) { - return adoptRef(new WebKitAnimationEvent(type, animationName, elapsedTime)); + return adoptRefWillBeNoop(new WebKitAnimationEvent(type, animationName, elapsedTime)); } - static PassRefPtr<WebKitAnimationEvent> create(const AtomicString& type, const WebKitAnimationEventInit& initializer) + static PassRefPtrWillBeRawPtr<WebKitAnimationEvent> create(const AtomicString& type, const WebKitAnimationEventInit& initializer) { - return adoptRef(new WebKitAnimationEvent(type, initializer)); + return adoptRefWillBeNoop(new WebKitAnimationEvent(type, initializer)); } virtual ~WebKitAnimationEvent(); @@ -60,7 +60,9 @@ public: const String& animationName() const; double elapsedTime() const; - virtual const AtomicString& interfaceName() const; + virtual const AtomicString& interfaceName() const OVERRIDE; + + virtual void trace(Visitor*) OVERRIDE; private: WebKitAnimationEvent(); |