| Index: Source/core/events/UIEvent.h
|
| diff --git a/Source/core/events/UIEvent.h b/Source/core/events/UIEvent.h
|
| index bccb5d936b7a4ed44510b2a9b85618e1cc8508e1..eca0022cca0817ab2957798474cb1e0fd32a9bdf 100644
|
| --- a/Source/core/events/UIEvent.h
|
| +++ b/Source/core/events/UIEvent.h
|
| @@ -41,17 +41,17 @@ struct UIEventInit : public EventInit {
|
|
|
| class UIEvent : public Event {
|
| public:
|
| - static PassRefPtr<UIEvent> create()
|
| + static PassRefPtrWillBeRawPtr<UIEvent> create()
|
| {
|
| - return adoptRef(new UIEvent);
|
| + return adoptRefCountedWillBeRefCountedGarbageCollected(new UIEvent);
|
| }
|
| - static PassRefPtr<UIEvent> create(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<AbstractView> view, int detail)
|
| + static PassRefPtrWillBeRawPtr<UIEvent> create(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<AbstractView> view, int detail)
|
| {
|
| - return adoptRef(new UIEvent(type, canBubble, cancelable, view, detail));
|
| + return adoptRefCountedWillBeRefCountedGarbageCollected(new UIEvent(type, canBubble, cancelable, view, detail));
|
| }
|
| - static PassRefPtr<UIEvent> create(const AtomicString& type, const UIEventInit& initializer)
|
| + static PassRefPtrWillBeRawPtr<UIEvent> create(const AtomicString& type, const UIEventInit& initializer)
|
| {
|
| - return adoptRef(new UIEvent(type, initializer));
|
| + return adoptRefCountedWillBeRefCountedGarbageCollected(new UIEvent(type, initializer));
|
| }
|
| virtual ~UIEvent();
|
|
|
|
|