| Index: Source/core/events/CustomEvent.h
|
| diff --git a/Source/core/events/CustomEvent.h b/Source/core/events/CustomEvent.h
|
| index 54b9c0572d7383530e68349d6579d001b8ea9d1d..a2ae1953374c9764a629955a0ba30a1c7fe97824 100644
|
| --- a/Source/core/events/CustomEvent.h
|
| +++ b/Source/core/events/CustomEvent.h
|
| @@ -38,14 +38,14 @@ class CustomEvent FINAL : public Event {
|
| public:
|
| virtual ~CustomEvent();
|
|
|
| - static PassRefPtrWillBeRawPtr<CustomEvent> create()
|
| + static PassRefPtr<CustomEvent> create()
|
| {
|
| - return adoptRefWillBeRefCountedGarbageCollected(new CustomEvent);
|
| + return adoptRef(new CustomEvent);
|
| }
|
|
|
| - static PassRefPtrWillBeRawPtr<CustomEvent> create(const AtomicString& type, const CustomEventInit& initializer)
|
| + static PassRefPtr<CustomEvent> create(const AtomicString& type, const CustomEventInit& initializer)
|
| {
|
| - return adoptRefWillBeRefCountedGarbageCollected(new CustomEvent(type, initializer));
|
| + return adoptRef(new CustomEvent(type, initializer));
|
| }
|
|
|
| void initCustomEvent(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<SerializedScriptValue>);
|
|
|