Index: Source/core/events/TransitionEvent.h |
diff --git a/Source/core/events/TransitionEvent.h b/Source/core/events/TransitionEvent.h |
index 27d774a71a4a4a5481102960d7ed2b9838e7c28a..0cc81f5a4944bb8241c9c9c1058b13a74f28e37c 100644 |
--- a/Source/core/events/TransitionEvent.h |
+++ b/Source/core/events/TransitionEvent.h |
@@ -41,17 +41,17 @@ struct TransitionEventInit : public EventInit { |
class TransitionEvent FINAL : public Event { |
public: |
- static PassRefPtr<TransitionEvent> create() |
+ static PassRefPtrWillBeRawPtr<TransitionEvent> create() |
{ |
- return adoptRef(new TransitionEvent); |
+ return adoptRefWillBeRefCountedGarbageCollected(new TransitionEvent); |
} |
- static PassRefPtr<TransitionEvent> create(const AtomicString& type, const String& propertyName, double elapsedTime, const String& pseudoElement) |
+ static PassRefPtrWillBeRawPtr<TransitionEvent> create(const AtomicString& type, const String& propertyName, double elapsedTime, const String& pseudoElement) |
{ |
- return adoptRef(new TransitionEvent(type, propertyName, elapsedTime, pseudoElement)); |
+ return adoptRefWillBeRefCountedGarbageCollected(new TransitionEvent(type, propertyName, elapsedTime, pseudoElement)); |
} |
- static PassRefPtr<TransitionEvent> create(const AtomicString& type, const TransitionEventInit& initializer) |
+ static PassRefPtrWillBeRawPtr<TransitionEvent> create(const AtomicString& type, const TransitionEventInit& initializer) |
{ |
- return adoptRef(new TransitionEvent(type, initializer)); |
+ return adoptRefWillBeRefCountedGarbageCollected(new TransitionEvent(type, initializer)); |
} |
virtual ~TransitionEvent(); |