| Index: third_party/WebKit/Source/core/events/PointerEvent.h
|
| diff --git a/third_party/WebKit/Source/core/events/PointerEvent.h b/third_party/WebKit/Source/core/events/PointerEvent.h
|
| index 092aa47629292bf2de720f9ddd4070c62ffa4f4c..6791fec1450adfcb10e78e6f6a6cf0386f6c1584 100644
|
| --- a/third_party/WebKit/Source/core/events/PointerEvent.h
|
| +++ b/third_party/WebKit/Source/core/events/PointerEvent.h
|
| @@ -15,14 +15,14 @@ class PointerEvent final : public MouseEvent {
|
| DEFINE_WRAPPERTYPEINFO();
|
|
|
| public:
|
| - static PassRefPtrWillBeRawPtr<PointerEvent> create()
|
| + static RawPtr<PointerEvent> create()
|
| {
|
| return adoptRefWillBeNoop(new PointerEvent);
|
| }
|
|
|
| - static PassRefPtrWillBeRawPtr<PointerEvent> create(const AtomicString& type, const PointerEventInit& initializer)
|
| + static RawPtr<PointerEvent> create(const AtomicString& type, const PointerEventInit& initializer)
|
| {
|
| - return adoptRefWillBeNoop(new PointerEvent(type, initializer));
|
| + return new PointerEvent(type, initializer);
|
| }
|
|
|
| int pointerId() const { return m_pointerId; }
|
| @@ -38,7 +38,7 @@ public:
|
| bool isMouseEvent() const override;
|
| bool isPointerEvent() const override;
|
|
|
| - PassRefPtrWillBeRawPtr<EventDispatchMediator> createMediator() override;
|
| + RawPtr<EventDispatchMediator> createMediator() override;
|
|
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| @@ -59,10 +59,10 @@ private:
|
|
|
| class PointerEventDispatchMediator final : public EventDispatchMediator {
|
| public:
|
| - static PassRefPtrWillBeRawPtr<PointerEventDispatchMediator> create(PassRefPtrWillBeRawPtr<PointerEvent>);
|
| + static RawPtr<PointerEventDispatchMediator> create(RawPtr<PointerEvent>);
|
|
|
| private:
|
| - explicit PointerEventDispatchMediator(PassRefPtrWillBeRawPtr<PointerEvent>);
|
| + explicit PointerEventDispatchMediator(RawPtr<PointerEvent>);
|
| PointerEvent& event() const;
|
| DispatchEventResult dispatchEvent(EventDispatcher&) const override;
|
| };
|
|
|