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