| Index: third_party/WebKit/Source/modules/device_orientation/DeviceOrientationEvent.cpp
|
| diff --git a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationEvent.cpp b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationEvent.cpp
|
| index f5edc72757459bd3ae6760c18e54359020e61228..763a93922aff9ee2115256264b05d17fa3419905 100644
|
| --- a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationEvent.cpp
|
| +++ b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationEvent.cpp
|
| @@ -47,21 +47,6 @@ DeviceOrientationEvent::DeviceOrientationEvent(
|
| : Event(eventType, false, false), // Can't bubble, not cancelable
|
| m_orientation(orientation) {}
|
|
|
| -void DeviceOrientationEvent::initDeviceOrientationEvent(
|
| - const AtomicString& type,
|
| - bool bubbles,
|
| - bool cancelable,
|
| - const Nullable<double>& alpha,
|
| - const Nullable<double>& beta,
|
| - const Nullable<double>& gamma,
|
| - bool absolute) {
|
| - if (isBeingDispatched())
|
| - return;
|
| -
|
| - initEvent(type, bubbles, cancelable);
|
| - m_orientation = DeviceOrientationData::create(alpha, beta, gamma, absolute);
|
| -}
|
| -
|
| double DeviceOrientationEvent::alpha(bool& isNull) const {
|
| if (m_orientation->canProvideAlpha())
|
| return m_orientation->alpha();
|
|
|