Index: Source/core/events/WebKitAnimationEvent.h |
diff --git a/Source/core/events/WebKitAnimationEvent.h b/Source/core/events/WebKitAnimationEvent.h |
index 0c4549ab289bc5cf2e25d076b357a0387cc97e55..598e1e482d308a57eb02182bf91a7b8d6953ef3a 100644 |
--- a/Source/core/events/WebKitAnimationEvent.h |
+++ b/Source/core/events/WebKitAnimationEvent.h |
@@ -42,17 +42,17 @@ struct WebKitAnimationEventInit : public EventInit { |
class WebKitAnimationEvent FINAL : public Event { |
public: |
- static PassRefPtr<WebKitAnimationEvent> create() |
+ static PassRefPtrWillBeRawPtr<WebKitAnimationEvent> create() |
{ |
- return adoptRef(new WebKitAnimationEvent); |
+ return adoptRefCountedWillBeRefCountedGarbageCollected(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 adoptRefCountedWillBeRefCountedGarbageCollected(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 adoptRefCountedWillBeRefCountedGarbageCollected(new WebKitAnimationEvent(type, initializer)); |
} |
virtual ~WebKitAnimationEvent(); |