| 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 0dcdbcda5433a7057f0f8a7e6dbdf46606c1d5dc..097870fb48d90350dd1e7d19bd9fa7c6bb538ced 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);
|
| + return (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));
|
| }
|
|
|
| long 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;
|
| bool dispatchEvent(EventDispatcher&) const override;
|
| };
|
|
|