diff options
Diffstat (limited to 'dom/system')
-rw-r--r-- | dom/system/nsDeviceSensors.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/dom/system/nsDeviceSensors.cpp b/dom/system/nsDeviceSensors.cpp index 3b6babc67c..027dd95eb6 100644 --- a/dom/system/nsDeviceSensors.cpp +++ b/dom/system/nsDeviceSensors.cpp @@ -472,9 +472,6 @@ nsDeviceSensors::FireDOMOrientationEvent(EventTarget* aTarget, static bool sIsDispatchingRelativeEvents = false; sIsDispatchingRelativeEvents = sIsDispatchingRelativeEvents || !aIsAbsolute; - // Android devices with SENSOR_GAME_ROTATION_VECTOR support dispatch - // relative events for "deviceorientation" by default, while other platforms - // and devices without such support dispatch absolute events by default. if (aIsAbsolute && !sIsDispatchingRelativeEvents) { // For absolute events on devices without support for relative events, // we need to additionally dispatch type "deviceorientation" to keep |