| Index: third_party/WebKit/Source/core/events/GestureEvent.h
|
| diff --git a/third_party/WebKit/Source/core/events/GestureEvent.h b/third_party/WebKit/Source/core/events/GestureEvent.h
|
| index 0581cb37d43101c5511141bd39964db15c3f98a0..ebb93fa453402a5d78534425547e37cb1a555ed2 100644
|
| --- a/third_party/WebKit/Source/core/events/GestureEvent.h
|
| +++ b/third_party/WebKit/Source/core/events/GestureEvent.h
|
| @@ -43,7 +43,7 @@ class CORE_EXPORT GestureEvent final : public MouseRelatedEvent {
|
| public:
|
| ~GestureEvent() override { }
|
|
|
| - static PassRefPtrWillBeRawPtr<GestureEvent> create(PassRefPtrWillBeRawPtr<AbstractView>, const PlatformGestureEvent&);
|
| + static RawPtr<GestureEvent> create(RawPtr<AbstractView>, const PlatformGestureEvent&);
|
|
|
| bool isGestureEvent() const override;
|
|
|
| @@ -58,13 +58,13 @@ public:
|
| GestureSource source() const { return m_source; }
|
| int resendingPluginId() const { return m_resendingPluginId; }
|
|
|
| - PassRefPtrWillBeRawPtr<EventDispatchMediator> createMediator() override;
|
| + RawPtr<EventDispatchMediator> createMediator() override;
|
|
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| private:
|
| GestureEvent();
|
| - GestureEvent(const AtomicString& type, PassRefPtrWillBeRawPtr<AbstractView>, int screenX, int screenY, int clientX, int clientY, PlatformEvent::Modifiers, float deltaX, float deltaY, float velocityX, float velocityY, bool inertial, double platformTimeStamp, int resendingPluginId, GestureSource);
|
| + GestureEvent(const AtomicString& type, RawPtr<AbstractView>, int screenX, int screenY, int clientX, int clientY, PlatformEvent::Modifiers, float deltaX, float deltaY, float velocityX, float velocityY, bool inertial, double platformTimeStamp, int resendingPluginId, GestureSource);
|
|
|
| float m_deltaX;
|
| float m_deltaY;
|
| @@ -78,13 +78,13 @@ private:
|
|
|
| class GestureEventDispatchMediator final : public EventDispatchMediator {
|
| public:
|
| - static PassRefPtrWillBeRawPtr<GestureEventDispatchMediator> create(PassRefPtrWillBeRawPtr<GestureEvent> gestureEvent)
|
| + static RawPtr<GestureEventDispatchMediator> create(RawPtr<GestureEvent> gestureEvent)
|
| {
|
| - return adoptRefWillBeNoop(new GestureEventDispatchMediator(gestureEvent));
|
| + return (new GestureEventDispatchMediator(gestureEvent));
|
| }
|
|
|
| private:
|
| - explicit GestureEventDispatchMediator(PassRefPtrWillBeRawPtr<GestureEvent>);
|
| + explicit GestureEventDispatchMediator(RawPtr<GestureEvent>);
|
|
|
| GestureEvent& event() const;
|
|
|
|
|