| Index: third_party/WebKit/Source/core/events/WheelEvent.h
|
| diff --git a/third_party/WebKit/Source/core/events/WheelEvent.h b/third_party/WebKit/Source/core/events/WheelEvent.h
|
| index 27ec42faf3ec419825318864f35892dbbdba3d5a..75bc97f9159ba8acbcb845f1c3d3bcb4cf78cdf2 100644
|
| --- a/third_party/WebKit/Source/core/events/WheelEvent.h
|
| +++ b/third_party/WebKit/Source/core/events/WheelEvent.h
|
| @@ -46,25 +46,25 @@ public:
|
| DOM_DELTA_PAGE
|
| };
|
|
|
| - static PassRefPtrWillBeRawPtr<WheelEvent> create()
|
| + static RawPtr<WheelEvent> create()
|
| {
|
| - return adoptRefWillBeNoop(new WheelEvent);
|
| + return (new WheelEvent);
|
| }
|
|
|
| - static PassRefPtrWillBeRawPtr<WheelEvent> create(const PlatformWheelEvent& platformEvent, PassRefPtrWillBeRawPtr<AbstractView>);
|
| + static RawPtr<WheelEvent> create(const PlatformWheelEvent& platformEvent, RawPtr<AbstractView>);
|
|
|
| - static PassRefPtrWillBeRawPtr<WheelEvent> create(const AtomicString& type, const WheelEventInit& initializer)
|
| + static RawPtr<WheelEvent> create(const AtomicString& type, const WheelEventInit& initializer)
|
| {
|
| - return adoptRefWillBeNoop(new WheelEvent(type, initializer));
|
| + return (new WheelEvent(type, initializer));
|
| }
|
|
|
| - static PassRefPtrWillBeRawPtr<WheelEvent> create(const FloatPoint& wheelTicks,
|
| - const FloatPoint& rawDelta, unsigned deltaMode, PassRefPtrWillBeRawPtr<AbstractView> view,
|
| + static RawPtr<WheelEvent> create(const FloatPoint& wheelTicks,
|
| + const FloatPoint& rawDelta, unsigned deltaMode, RawPtr<AbstractView> view,
|
| const IntPoint& screenLocation, const IntPoint& windowLocation,
|
| PlatformEvent::Modifiers modifiers, unsigned short buttons, double platformTimeStamp,
|
| bool canScroll, int resendingPluginId, bool hasPreciseScrollingDeltas, RailsMode railsMode)
|
| {
|
| - return adoptRefWillBeNoop(new WheelEvent(wheelTicks, rawDelta, deltaMode, view,
|
| + return (new WheelEvent(wheelTicks, rawDelta, deltaMode, view,
|
| screenLocation, windowLocation, modifiers, buttons, platformTimeStamp,
|
| canScroll, resendingPluginId, hasPreciseScrollingDeltas, railsMode));
|
| }
|
| @@ -87,7 +87,7 @@ public:
|
| bool isMouseEvent() const override;
|
| bool isWheelEvent() const override;
|
|
|
| - PassRefPtrWillBeRawPtr<EventDispatchMediator> createMediator() override;
|
| + RawPtr<EventDispatchMediator> createMediator() override;
|
|
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| @@ -95,7 +95,7 @@ private:
|
| WheelEvent();
|
| WheelEvent(const AtomicString&, const WheelEventInit&);
|
| WheelEvent(const FloatPoint& wheelTicks, const FloatPoint& rawDelta,
|
| - unsigned, PassRefPtrWillBeRawPtr<AbstractView>, const IntPoint& screenLocation, const IntPoint& windowLocation,
|
| + unsigned, RawPtr<AbstractView>, const IntPoint& screenLocation, const IntPoint& windowLocation,
|
| PlatformEvent::Modifiers, unsigned short buttons, double platformTimeStamp,
|
| bool canScroll, int resendingPluginId, bool hasPreciseScrollingDeltas, RailsMode);
|
|
|
| @@ -114,10 +114,10 @@ DEFINE_EVENT_TYPE_CASTS(WheelEvent);
|
|
|
| class WheelEventDispatchMediator final : public EventDispatchMediator {
|
| public:
|
| - static PassRefPtrWillBeRawPtr<WheelEventDispatchMediator> create(PassRefPtrWillBeRawPtr<WheelEvent>);
|
| + static RawPtr<WheelEventDispatchMediator> create(RawPtr<WheelEvent>);
|
|
|
| private:
|
| - explicit WheelEventDispatchMediator(PassRefPtrWillBeRawPtr<WheelEvent>);
|
| + explicit WheelEventDispatchMediator(RawPtr<WheelEvent>);
|
| WheelEvent& event() const;
|
| bool dispatchEvent(EventDispatcher&) const override;
|
| };
|
|
|