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

Unified Diff: Source/WebCore/dom/WheelEvent.cpp

Issue 13814002: First part of work to move V8 binding integrity off of vtables. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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/WebCore/dom/UIEvent.cpp ('k') | Source/WebCore/fileapi/Blob.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/dom/WheelEvent.cpp
diff --git a/Source/WebCore/dom/WheelEvent.cpp b/Source/WebCore/dom/WheelEvent.cpp
index 22ef865b51dce23cea9926adceab16f843c545d4..8d3436a1d1394d91f2cfa4ecff3b333441ccc789 100644
--- a/Source/WebCore/dom/WheelEvent.cpp
+++ b/Source/WebCore/dom/WheelEvent.cpp
@@ -43,6 +43,7 @@ WheelEvent::WheelEvent()
: m_deltaMode(DOM_DELTA_PIXEL)
, m_directionInvertedFromDevice(false)
{
+ ScriptWrappable::init(this);
}
WheelEvent::WheelEvent(const AtomicString& type, const WheelEventInit& initializer)
@@ -50,6 +51,7 @@ WheelEvent::WheelEvent(const AtomicString& type, const WheelEventInit& initializ
, m_wheelDelta(IntPoint(initializer.wheelDeltaX, initializer.wheelDeltaY))
, m_deltaMode(initializer.deltaMode)
{
+ ScriptWrappable::init(this);
}
WheelEvent::WheelEvent(const FloatPoint& wheelTicks, const FloatPoint& rawDelta, unsigned deltaMode,
@@ -67,6 +69,7 @@ WheelEvent::WheelEvent(const FloatPoint& wheelTicks, const FloatPoint& rawDelta,
, m_deltaMode(deltaMode)
, m_directionInvertedFromDevice(directionInvertedFromDevice)
{
+ ScriptWrappable::init(this);
}
void WheelEvent::initWheelEvent(int rawDeltaX, int rawDeltaY, PassRefPtr<AbstractView> view,
« no previous file with comments | « Source/WebCore/dom/UIEvent.cpp ('k') | Source/WebCore/fileapi/Blob.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698