| Index: Source/core/events/TouchEvent.h
|
| diff --git a/Source/core/events/TouchEvent.h b/Source/core/events/TouchEvent.h
|
| index 935690d5e3e4f0f3de26312aa1be421d79192d20..b573d6444839e62420f5d67f3c3d5cdf89732a09 100644
|
| --- a/Source/core/events/TouchEvent.h
|
| +++ b/Source/core/events/TouchEvent.h
|
| @@ -37,19 +37,20 @@ class TouchEvent FINAL : public MouseRelatedEvent {
|
| public:
|
| virtual ~TouchEvent();
|
|
|
| - static PassRefPtr<TouchEvent> create()
|
| + static PassRefPtrWillBeRawPtr<TouchEvent> create()
|
| {
|
| - return adoptRef(new TouchEvent);
|
| + return adoptRefCountedWillBeRefCountedGarbageCollected(new TouchEvent);
|
| }
|
| - static PassRefPtr<TouchEvent> create(TouchList* touches,
|
| - TouchList* targetTouches, TouchList* changedTouches,
|
| - const AtomicString& type, PassRefPtr<AbstractView> view,
|
| - int screenX, int screenY, int pageX, int pageY,
|
| - bool ctrlKey, bool altKey, bool shiftKey, bool metaKey)
|
| + static PassRefPtrWillBeRawPtr<TouchEvent> create(TouchList* touches,
|
| + TouchList* targetTouches, TouchList* changedTouches,
|
| + const AtomicString& type, PassRefPtr<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,
|
| - type, view, screenX, screenY, pageX, pageY,
|
| - ctrlKey, altKey, shiftKey, metaKey));
|
| + return adoptRefCountedWillBeRefCountedGarbageCollected(new TouchEvent(
|
| + touches, targetTouches, changedTouches,
|
| + type, view, screenX, screenY, pageX, pageY,
|
| + ctrlKey, altKey, shiftKey, metaKey));
|
| }
|
|
|
| void initTouchEvent(TouchList* touches, TouchList* targetTouches,
|
|
|