| Index: Source/core/events/Event.h
|
| diff --git a/Source/core/events/Event.h b/Source/core/events/Event.h
|
| index 001e298e9171aa6aee7aaf0e3c0053e40a7b0c6a..19344d8d56c06d8d26a4578a54f146b7ad0fcfc9 100644
|
| --- a/Source/core/events/Event.h
|
| +++ b/Source/core/events/Event.h
|
| @@ -86,17 +86,17 @@ public:
|
| {
|
| return adoptRefWillBeRefCountedGarbageCollected(new Event(type, false, false));
|
| }
|
| - static PassRefPtr<Event> createCancelable(const AtomicString& type)
|
| + static PassRefPtrWillBeRawPtr<Event> createCancelable(const AtomicString& type)
|
| {
|
| - return adoptRef(new Event(type, false, true));
|
| + return adoptRefWillBeRefCountedGarbageCollected(new Event(type, false, true));
|
| }
|
| - static PassRefPtr<Event> createBubble(const AtomicString& type)
|
| + static PassRefPtrWillBeRawPtr<Event> createBubble(const AtomicString& type)
|
| {
|
| - return adoptRef(new Event(type, true, false));
|
| + return adoptRefWillBeRefCountedGarbageCollected(new Event(type, true, false));
|
| }
|
| - static PassRefPtr<Event> createCancelableBubble(const AtomicString& type)
|
| + static PassRefPtrWillBeRawPtr<Event> createCancelableBubble(const AtomicString& type)
|
| {
|
| - return adoptRef(new Event(type, true, true));
|
| + return adoptRefWillBeRefCountedGarbageCollected(new Event(type, true, true));
|
| }
|
|
|
| static PassRefPtrWillBeRawPtr<Event> create(const AtomicString& type, const EventInit& initializer)
|
|
|