| Index: third_party/WebKit/Source/core/dom/Touch.h
|
| diff --git a/third_party/WebKit/Source/core/dom/Touch.h b/third_party/WebKit/Source/core/dom/Touch.h
|
| index 9d5490a24135fa5b0b6f62a6736d4a173c9d7309..e2f71d1a74e7c29835ea05c40079465d3acdaadc 100644
|
| --- a/third_party/WebKit/Source/core/dom/Touch.h
|
| +++ b/third_party/WebKit/Source/core/dom/Touch.h
|
| @@ -43,20 +43,20 @@ namespace blink {
|
|
|
| class LocalFrame;
|
|
|
| -class CORE_EXPORT Touch final : public RefCountedWillBeGarbageCollected<Touch>, public ScriptWrappable {
|
| +class CORE_EXPORT Touch final : public GarbageCollected<Touch>, public ScriptWrappable {
|
| DEFINE_WRAPPERTYPEINFO();
|
| public:
|
| - static PassRefPtrWillBeRawPtr<Touch> create(LocalFrame* frame, EventTarget* target,
|
| + static RawPtr<Touch> create(LocalFrame* frame, EventTarget* target,
|
| int identifier, const FloatPoint& screenPos, const FloatPoint& pagePos,
|
| const FloatSize& radius, float rotationAngle, float force)
|
| {
|
| - return adoptRefWillBeNoop(
|
| + return (
|
| new Touch(frame, target, identifier, screenPos, pagePos, radius, rotationAngle, force));
|
| }
|
|
|
| - static PassRefPtrWillBeRawPtr<Touch> create(const Document& document, const TouchInit& initializer)
|
| + static RawPtr<Touch> create(const Document& document, const TouchInit& initializer)
|
| {
|
| - return adoptRefWillBeNoop(new Touch(document.frame(), initializer));
|
| + return (new Touch(document.frame(), initializer));
|
| }
|
|
|
| // DOM Touch implementation
|
| @@ -76,7 +76,7 @@ public:
|
| // Blink-internal methods
|
| const LayoutPoint& absoluteLocation() const { return m_absoluteLocation; }
|
| const FloatPoint& screenLocation() const { return m_screenPos; }
|
| - PassRefPtrWillBeRawPtr<Touch> cloneWithNewTarget(EventTarget*) const;
|
| + RawPtr<Touch> cloneWithNewTarget(EventTarget*) const;
|
|
|
| DECLARE_TRACE();
|
|
|
| @@ -91,7 +91,7 @@ private:
|
|
|
| Touch(LocalFrame*, const TouchInit&);
|
|
|
| - RefPtrWillBeMember<EventTarget> m_target;
|
| + Member<EventTarget> m_target;
|
| int m_identifier;
|
| // Position relative to the viewport in CSS px.
|
| FloatPoint m_clientPos;
|
|
|