Index: Source/core/events/PageTransitionEvent.h |
diff --git a/Source/core/events/PageTransitionEvent.h b/Source/core/events/PageTransitionEvent.h |
index f249292a84b8d3a45aec6fc401eb52be2ae164f0..a33262a87ab2b3f5d96e7298dd86949399c859b5 100644 |
--- a/Source/core/events/PageTransitionEvent.h |
+++ b/Source/core/events/PageTransitionEvent.h |
@@ -38,17 +38,17 @@ struct PageTransitionEventInit : public EventInit { |
class PageTransitionEvent FINAL : public Event { |
public: |
- static PassRefPtr<PageTransitionEvent> create() |
+ static PassRefPtrWillBeRawPtr<PageTransitionEvent> create() |
{ |
- return adoptRef(new PageTransitionEvent); |
+ return adoptRefWillBeRefCountedGarbageCollected(new PageTransitionEvent); |
} |
- static PassRefPtr<PageTransitionEvent> create(const AtomicString& type, bool persisted) |
+ static PassRefPtrWillBeRawPtr<PageTransitionEvent> create(const AtomicString& type, bool persisted) |
{ |
- return adoptRef(new PageTransitionEvent(type, persisted)); |
+ return adoptRefWillBeRefCountedGarbageCollected(new PageTransitionEvent(type, persisted)); |
} |
- static PassRefPtr<PageTransitionEvent> create(const AtomicString& type, const PageTransitionEventInit& initializer) |
+ static PassRefPtrWillBeRawPtr<PageTransitionEvent> create(const AtomicString& type, const PageTransitionEventInit& initializer) |
{ |
- return adoptRef(new PageTransitionEvent(type, initializer)); |
+ return adoptRefWillBeRefCountedGarbageCollected(new PageTransitionEvent(type, initializer)); |
} |
virtual ~PageTransitionEvent(); |