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

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

Issue 316443004: Oilpan: Remove ref counting from EventTarget and all uses of Pass/RefPtr<EventTarget>. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 6 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 | « Source/bindings/v8/Dictionary.cpp ('k') | Source/core/dom/Touch.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Touch.h
diff --git a/Source/core/dom/Touch.h b/Source/core/dom/Touch.h
index cf9ccd099a19317562eccfbadc45fedca4a99e14..2b86fd0ff027ac0ab12d5157faacf48ae67c4aca 100644
--- a/Source/core/dom/Touch.h
+++ b/Source/core/dom/Touch.h
@@ -38,7 +38,7 @@ namespace WebCore {
class LocalFrame;
-class Touch : public RefCountedWillBeGarbageCollectedFinalized<Touch>, public ScriptWrappable {
+class Touch FINAL : public RefCountedWillBeGarbageCollectedFinalized<Touch>, public ScriptWrappable {
public:
static PassRefPtrWillBeRawPtr<Touch> create(LocalFrame* frame, EventTarget* target,
unsigned identifier, int screenX, int screenY, int pageX, int pageY,
@@ -63,7 +63,7 @@ public:
const LayoutPoint& absoluteLocation() const { return m_absoluteLocation; }
PassRefPtrWillBeRawPtr<Touch> cloneWithNewTarget(EventTarget*) const;
- void trace(Visitor*) { }
+ void trace(Visitor*);
private:
Touch(LocalFrame* frame, EventTarget* target, unsigned identifier,
@@ -74,7 +74,7 @@ private:
int screenX, int screenY, int pageX, int pageY,
int radiusX, int radiusY, float rotationAngle, float force, LayoutPoint absoluteLocation);
- RefPtr<EventTarget> m_target;
+ RefPtrWillBeMember<EventTarget> m_target;
unsigned m_identifier;
int m_clientX;
int m_clientY;
« no previous file with comments | « Source/bindings/v8/Dictionary.cpp ('k') | Source/core/dom/Touch.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698