| Index: Source/core/events/PageTransitionEvent.h
|
| diff --git a/Source/core/events/PageTransitionEvent.h b/Source/core/events/PageTransitionEvent.h
|
| index f249292a84b8d3a45aec6fc401eb52be2ae164f0..39ad3fcfa03716b26755cb7c81f405bb32fccbd3 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 adoptRefCountedWillBeRefCountedGarbageCollected(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 adoptRefCountedWillBeRefCountedGarbageCollected(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 adoptRefCountedWillBeRefCountedGarbageCollected(new PageTransitionEvent(type, initializer));
|
| }
|
|
|
| virtual ~PageTransitionEvent();
|
|
|