| Index: Source/core/events/Event.h
|
| diff --git a/Source/core/events/Event.h b/Source/core/events/Event.h
|
| index 585d18fccb24966b6b3fe42106c59335479c0af4..d63cea615a7019095c310d16f23a3e9cbbb86fc6 100644
|
| --- a/Source/core/events/Event.h
|
| +++ b/Source/core/events/Event.h
|
| @@ -72,17 +72,17 @@ public:
|
| CHANGE = 32768
|
| };
|
|
|
| - static PassRefPtrWillBeRawPtr<Event> create()
|
| + static PassRefPtr<Event> create()
|
| {
|
| - return adoptRefWillBeRefCountedGarbageCollected(new Event);
|
| + return adoptRef(new Event);
|
| }
|
|
|
| // A factory for a simple event. The event doesn't bubble, and isn't
|
| // cancelable.
|
| // http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#fire-a-simple-event
|
| - static PassRefPtrWillBeRawPtr<Event> create(const AtomicString& type)
|
| + static PassRefPtr<Event> create(const AtomicString& type)
|
| {
|
| - return adoptRefWillBeRefCountedGarbageCollected(new Event(type, false, false));
|
| + return adoptRef(new Event(type, false, false));
|
| }
|
| static PassRefPtr<Event> createCancelable(const AtomicString& type)
|
| {
|
| @@ -97,9 +97,9 @@ public:
|
| return adoptRef(new Event(type, true, true));
|
| }
|
|
|
| - static PassRefPtrWillBeRawPtr<Event> create(const AtomicString& type, const EventInit& initializer)
|
| + static PassRefPtr<Event> create(const AtomicString& type, const EventInit& initializer)
|
| {
|
| - return adoptRefWillBeRefCountedGarbageCollected(new Event(type, initializer));
|
| + return adoptRef(new Event(type, initializer));
|
| }
|
|
|
| virtual ~Event();
|
|
|