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

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

Issue 540283003: bindings: Retires ScriptWrappable::init, etc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed a review comment. Created 6 years, 3 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/core/dom/Text.h ('k') | Source/core/dom/TouchList.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Touch.cpp
diff --git a/Source/core/dom/Touch.cpp b/Source/core/dom/Touch.cpp
index fcf244862bc8b64831f94b7b482110454a21df7a..edc0406c39e77c7e46631a1d4e34714ab71f0bd4 100644
--- a/Source/core/dom/Touch.cpp
+++ b/Source/core/dom/Touch.cpp
@@ -54,7 +54,6 @@ Touch::Touch(LocalFrame* frame, EventTarget* target, unsigned identifier, const
, m_rotationAngle(rotationAngle)
, m_force(force)
{
- ScriptWrappable::init(this);
float scaleFactor = frame ? frame->pageZoomFactor() : 1.0f;
m_absoluteLocation = roundedLayoutPoint(pagePos.scaledBy(scaleFactor));
}
@@ -70,7 +69,6 @@ Touch::Touch(EventTarget* target, unsigned identifier, const FloatPoint& clientP
, m_force(force)
, m_absoluteLocation(absoluteLocation)
{
- ScriptWrappable::init(this);
}
PassRefPtrWillBeRawPtr<Touch> Touch::cloneWithNewTarget(EventTarget* eventTarget) const
« no previous file with comments | « Source/core/dom/Text.h ('k') | Source/core/dom/TouchList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698