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

Unified Diff: Source/modules/device_light/DeviceLightEvent.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
« no previous file with comments | « Source/modules/crypto/SubtleCrypto.cpp ('k') | Source/modules/device_orientation/DeviceAcceleration.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/device_light/DeviceLightEvent.cpp
diff --git a/Source/modules/device_light/DeviceLightEvent.cpp b/Source/modules/device_light/DeviceLightEvent.cpp
index 71a2fc7f2b41ae97589d977049e1718f2b755c3e..994629388b6a488d7451ec8564dfd62928a045a4 100644
--- a/Source/modules/device_light/DeviceLightEvent.cpp
+++ b/Source/modules/device_light/DeviceLightEvent.cpp
@@ -14,21 +14,18 @@ DeviceLightEvent::~DeviceLightEvent()
DeviceLightEvent::DeviceLightEvent()
: m_value(std::numeric_limits<double>::infinity())
{
- ScriptWrappable::init(this);
}
DeviceLightEvent::DeviceLightEvent(const AtomicString& eventType, double value)
: Event(eventType, true, false) // The DeviceLightEvent bubbles but is not cancelable.
, m_value(value)
{
- ScriptWrappable::init(this);
}
DeviceLightEvent::DeviceLightEvent(const AtomicString& eventType, const DeviceLightEventInit& initializer)
: Event(eventType, initializer)
, m_value(initializer.value)
{
- ScriptWrappable::init(this);
}
const AtomicString& DeviceLightEvent::interfaceName() const
« no previous file with comments | « Source/modules/crypto/SubtleCrypto.cpp ('k') | Source/modules/device_orientation/DeviceAcceleration.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698