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

Unified Diff: Source/modules/device_orientation/DeviceMotionEvent.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
Index: Source/modules/device_orientation/DeviceMotionEvent.cpp
diff --git a/Source/modules/device_orientation/DeviceMotionEvent.cpp b/Source/modules/device_orientation/DeviceMotionEvent.cpp
index 497cc754fccf30ce5598d47b1d2ee1d3ea531278..de398707585fa514716990cdc0b2609fded3f7eb 100644
--- a/Source/modules/device_orientation/DeviceMotionEvent.cpp
+++ b/Source/modules/device_orientation/DeviceMotionEvent.cpp
@@ -39,14 +39,12 @@ 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/modules/device_orientation/DeviceAcceleration.cpp ('k') | Source/modules/device_orientation/DeviceOrientationEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698