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

Unified Diff: Source/modules/device_orientation/DeviceOrientationEvent.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/DeviceOrientationEvent.cpp
diff --git a/Source/modules/device_orientation/DeviceOrientationEvent.cpp b/Source/modules/device_orientation/DeviceOrientationEvent.cpp
index 2523dc75e96dcc5ac6996537669edc7e9f3c9cdf..8ab3909a2940cb058f00d9bb09f2b98ec9cb72dd 100644
--- a/Source/modules/device_orientation/DeviceOrientationEvent.cpp
+++ b/Source/modules/device_orientation/DeviceOrientationEvent.cpp
@@ -37,14 +37,12 @@ DeviceOrientationEvent::~DeviceOrientationEvent()
DeviceOrientationEvent::DeviceOrientationEvent()
: m_orientation(DeviceOrientationData::create())
{
- ScriptWrappable::init(this);
}
DeviceOrientationEvent::DeviceOrientationEvent(const AtomicString& eventType, DeviceOrientationData* orientation)
: Event(eventType, false, false) // Can't bubble, not cancelable
, m_orientation(orientation)
{
- ScriptWrappable::init(this);
}
void DeviceOrientationEvent::initDeviceOrientationEvent(const AtomicString& type, bool bubbles, bool cancelable, DeviceOrientationData* orientation)
« no previous file with comments | « Source/modules/device_orientation/DeviceMotionEvent.cpp ('k') | Source/modules/device_orientation/DeviceRotationRate.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698