| Index: Source/core/events/WheelEvent.h
|
| diff --git a/Source/core/events/WheelEvent.h b/Source/core/events/WheelEvent.h
|
| index a3abad222aa730c5dbf4d317dc5288a93816f596..57ffb3c6332bf9a2675029c38d298e8fa06fc3fe 100644
|
| --- a/Source/core/events/WheelEvent.h
|
| +++ b/Source/core/events/WheelEvent.h
|
| @@ -54,22 +54,22 @@ public:
|
| DOM_DELTA_PAGE
|
| };
|
|
|
| - static PassRefPtr<WheelEvent> create()
|
| + static PassRefPtrWillBeRawPtr<WheelEvent> create()
|
| {
|
| - return adoptRef(new WheelEvent);
|
| + return adoptRefWillBeRefCountedGarbageCollected(new WheelEvent);
|
| }
|
|
|
| - static PassRefPtr<WheelEvent> create(const AtomicString& type, const WheelEventInit& initializer)
|
| + static PassRefPtrWillBeRawPtr<WheelEvent> create(const AtomicString& type, const WheelEventInit& initializer)
|
| {
|
| - return adoptRef(new WheelEvent(type, initializer));
|
| + return adoptRefWillBeRefCountedGarbageCollected(new WheelEvent(type, initializer));
|
| }
|
|
|
| - static PassRefPtr<WheelEvent> create(const FloatPoint& wheelTicks,
|
| + static PassRefPtrWillBeRawPtr<WheelEvent> create(const FloatPoint& wheelTicks,
|
| const FloatPoint& rawDelta, unsigned deltaMode, PassRefPtrWillBeRawPtr<AbstractView> view,
|
| const IntPoint& screenLocation, const IntPoint& pageLocation,
|
| bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, bool directionInvertedFromDevice)
|
| {
|
| - return adoptRef(new WheelEvent(wheelTicks, rawDelta, deltaMode, view,
|
| + return adoptRefWillBeRefCountedGarbageCollected(new WheelEvent(wheelTicks, rawDelta, deltaMode, view,
|
| screenLocation, pageLocation, ctrlKey, altKey, shiftKey, metaKey, directionInvertedFromDevice));
|
| }
|
|
|
|
|