| 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)
|
|
|