| Index: Source/core/events/TouchEvent.h
|
| diff --git a/Source/core/events/TouchEvent.h b/Source/core/events/TouchEvent.h
|
| index 3d970a7f94fc0143ffeb39495abee18392fe0326..dcdfea95d5f98438ee4a7844aaf1eaad39815d7f 100644
|
| --- a/Source/core/events/TouchEvent.h
|
| +++ b/Source/core/events/TouchEvent.h
|
| @@ -37,17 +37,17 @@ class TouchEvent FINAL : public MouseRelatedEvent {
|
| public:
|
| virtual ~TouchEvent();
|
|
|
| - static PassRefPtr<TouchEvent> create()
|
| + static PassRefPtrWillBeRawPtr<TouchEvent> create()
|
| {
|
| - return adoptRef(new TouchEvent);
|
| + return adoptRefWillBeRefCountedGarbageCollected(new TouchEvent);
|
| }
|
| - static PassRefPtr<TouchEvent> create(TouchList* touches,
|
| + static PassRefPtrWillBeRawPtr<TouchEvent> create(TouchList* touches,
|
| TouchList* targetTouches, TouchList* changedTouches,
|
| const AtomicString& type, PassRefPtrWillBeRawPtr<AbstractView> view,
|
| int screenX, int screenY, int pageX, int pageY,
|
| bool ctrlKey, bool altKey, bool shiftKey, bool metaKey)
|
| {
|
| - return adoptRef(new TouchEvent(touches, targetTouches, changedTouches,
|
| + return adoptRefWillBeRefCountedGarbageCollected(new TouchEvent(touches, targetTouches, changedTouches,
|
| type, view, screenX, screenY, pageX, pageY,
|
| ctrlKey, altKey, shiftKey, metaKey));
|
| }
|
|
|