Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(98)

Unified Diff: third_party/WebKit/Source/core/dom/Touch.h

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/dom/TextTest.cpp ('k') | third_party/WebKit/Source/core/dom/Touch.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 a19880fc58403278525756f50b614a39b6d614da..3efa1c33a26a8b47b4547522baa9332371d6e2bd 100644
--- a/third_party/WebKit/Source/core/dom/Touch.h
+++ b/third_party/WebKit/Source/core/dom/Touch.h
@@ -43,20 +43,19 @@ namespace blink {
class LocalFrame;
-class CORE_EXPORT Touch final : public RefCountedWillBeGarbageCollectedFinalized<Touch>, public ScriptWrappable {
+class CORE_EXPORT Touch final : public GarbageCollectedFinalized<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, String region)
{
- return adoptRefWillBeNoop(
- new Touch(frame, target, identifier, screenPos, pagePos, radius, rotationAngle, force, region));
+ return new Touch(frame, target, identifier, screenPos, pagePos, radius, rotationAngle, force, region);
}
- 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
@@ -77,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();
@@ -92,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;
« no previous file with comments | « third_party/WebKit/Source/core/dom/TextTest.cpp ('k') | third_party/WebKit/Source/core/dom/Touch.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698