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

Unified Diff: Source/WebCore/dom/DeviceMotionEvent.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/DOMStringMap.h ('k') | Source/WebCore/dom/DeviceOrientationEvent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/dom/DeviceMotionEvent.cpp
diff --git a/Source/WebCore/dom/DeviceMotionEvent.cpp b/Source/WebCore/dom/DeviceMotionEvent.cpp
index fdfaa3f78310a8afc4aa0df6c65365c8f9105cd0..0c53d7220ec8eb298f87230f912018f91863541e 100644
--- a/Source/WebCore/dom/DeviceMotionEvent.cpp
+++ b/Source/WebCore/dom/DeviceMotionEvent.cpp
@@ -38,12 +38,14 @@ DeviceMotionEvent::~DeviceMotionEvent()
DeviceMotionEvent::DeviceMotionEvent()
: m_deviceMotionData(DeviceMotionData::create())
{
+ ScriptWrappable::init(this);
}
DeviceMotionEvent::DeviceMotionEvent(const AtomicString& eventType, DeviceMotionData* deviceMotionData)
: Event(eventType, false, false) // Can't bubble, not cancelable
, m_deviceMotionData(deviceMotionData)
{
+ ScriptWrappable::init(this);
}
void DeviceMotionEvent::initDeviceMotionEvent(const AtomicString& type, bool bubbles, bool cancelable, DeviceMotionData* deviceMotionData)
« no previous file with comments | « Source/WebCore/dom/DOMStringMap.h ('k') | Source/WebCore/dom/DeviceOrientationEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698