| Index: third_party/WebKit/Source/core/events/GestureEvent.cpp
|
| diff --git a/third_party/WebKit/Source/core/events/GestureEvent.cpp b/third_party/WebKit/Source/core/events/GestureEvent.cpp
|
| index cce2bafbbe74f1009bbe366a89867090dab2665c..a80cbff4a67729d5fbfea5823d09348b7137bb41 100644
|
| --- a/third_party/WebKit/Source/core/events/GestureEvent.cpp
|
| +++ b/third_party/WebKit/Source/core/events/GestureEvent.cpp
|
| @@ -30,7 +30,7 @@
|
|
|
| namespace blink {
|
|
|
| -PassRefPtrWillBeRawPtr<GestureEvent> GestureEvent::create(PassRefPtrWillBeRawPtr<AbstractView> view, const PlatformGestureEvent& event)
|
| +RawPtr<GestureEvent> GestureEvent::create(RawPtr<AbstractView> view, const PlatformGestureEvent& event)
|
| {
|
| AtomicString eventType;
|
| float deltaX = 0;
|
| @@ -87,7 +87,7 @@ PassRefPtrWillBeRawPtr<GestureEvent> GestureEvent::create(PassRefPtrWillBeRawPtr
|
| default:
|
| return nullptr;
|
| }
|
| - return adoptRefWillBeNoop(new GestureEvent(eventType, view, event.globalPosition().x(), event.globalPosition().y(), event.position().x(), event.position().y(), event.modifiers(), deltaX, deltaY, velocityX, velocityY, inertial, event.timestamp(), event.resendingPluginId(), source));
|
| + return (new GestureEvent(eventType, view, event.globalPosition().x(), event.globalPosition().y(), event.position().x(), event.position().y(), event.modifiers(), deltaX, deltaY, velocityX, velocityY, inertial, event.timestamp(), event.resendingPluginId(), source));
|
| }
|
|
|
| const AtomicString& GestureEvent::interfaceName() const
|
| @@ -114,7 +114,7 @@ GestureEvent::GestureEvent()
|
| {
|
| }
|
|
|
| -GestureEvent::GestureEvent(const AtomicString& type, PassRefPtrWillBeRawPtr<AbstractView> view, int screenX, int screenY, int clientX, int clientY, PlatformEvent::Modifiers modifiers, float deltaX, float deltaY, float velocityX, float velocityY, bool inertial, double platformTimeStamp, int resendingPluginId, GestureSource source)
|
| +GestureEvent::GestureEvent(const AtomicString& type, RawPtr<AbstractView> view, int screenX, int screenY, int clientX, int clientY, PlatformEvent::Modifiers modifiers, float deltaX, float deltaY, float velocityX, float velocityY, bool inertial, double platformTimeStamp, int resendingPluginId, GestureSource source)
|
| : MouseRelatedEvent(type, true, true, view, 0, IntPoint(screenX, screenY), IntPoint(clientX, clientY), IntPoint(0, 0), modifiers, platformTimeStamp, PositionType::Position)
|
| , m_deltaX(deltaX)
|
| , m_deltaY(deltaY)
|
| @@ -126,7 +126,7 @@ GestureEvent::GestureEvent(const AtomicString& type, PassRefPtrWillBeRawPtr<Abst
|
| {
|
| }
|
|
|
| -PassRefPtrWillBeRawPtr<EventDispatchMediator> GestureEvent::createMediator()
|
| +RawPtr<EventDispatchMediator> GestureEvent::createMediator()
|
| {
|
| return GestureEventDispatchMediator::create(this);
|
| }
|
| @@ -136,7 +136,7 @@ DEFINE_TRACE(GestureEvent)
|
| MouseRelatedEvent::trace(visitor);
|
| }
|
|
|
| -GestureEventDispatchMediator::GestureEventDispatchMediator(PassRefPtrWillBeRawPtr<GestureEvent> gestureEvent)
|
| +GestureEventDispatchMediator::GestureEventDispatchMediator(RawPtr<GestureEvent> gestureEvent)
|
| : EventDispatchMediator(gestureEvent)
|
| {
|
| }
|
|
|