| Index: Source/modules/device_orientation/DeviceOrientationData.cpp
|
| diff --git a/Source/modules/device_orientation/DeviceOrientationData.cpp b/Source/modules/device_orientation/DeviceOrientationData.cpp
|
| index 7b90659c45ca9ea6933edd94f3f195204d47e06d..c86d60df92fbb72d52a16b950b1aec2b94a9a19a 100644
|
| --- a/Source/modules/device_orientation/DeviceOrientationData.cpp
|
| +++ b/Source/modules/device_orientation/DeviceOrientationData.cpp
|
| @@ -108,4 +108,9 @@ bool DeviceOrientationData::canProvideAbsolute() const
|
| return m_canProvideAbsolute;
|
| }
|
|
|
| +bool DeviceOrientationData::canProvideEventData() const
|
| +{
|
| + return canProvideAlpha() || canProvideBeta() || canProvideGamma();
|
| +}
|
| +
|
| } // namespace WebCore
|
|
|