| 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 d34d9ce2fd1f7818c6a739fb8ef03d3a817d0f10..bc494115265084b625bb062d9582155ad00834c3 100644
|
| --- a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationEvent.cpp
|
| +++ b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationEvent.cpp
|
| @@ -54,6 +54,11 @@ void DeviceOrientationEvent::initDeviceOrientationEvent(const AtomicString& type
|
| m_orientation = DeviceOrientationData::create(alpha, beta, gamma, absolute);
|
| }
|
|
|
| +DeviceOrientationData* DeviceOrientationEvent::orientation() const
|
| +{
|
| + return m_orientation.get();
|
| +}
|
| +
|
| double DeviceOrientationEvent::alpha(bool& isNull) const
|
| {
|
| if (m_orientation->canProvideAlpha())
|
|
|