summaryrefslogtreecommitdiff
path: root/dom/system
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-10-15 18:01:51 +0000
committerMoonchild <moonchild@palemoon.org>2022-04-01 15:26:49 +0200
commitc14bb310ce237c375a5cf4a89e7689ddfbf016c5 (patch)
tree0551fe2ac349660e93fcd19547a30e2b10b1e0f2 /dom/system
parentccee5c781bb622d3edd3ac3067bae12af41587f8 (diff)
downloaduxp-c14bb310ce237c375a5cf4a89e7689ddfbf016c5.tar.gz
Issue #1053 - Clean up docs and some code comments.
Polish only, no code changes.
Diffstat (limited to 'dom/system')
-rw-r--r--dom/system/nsDeviceSensors.cpp3
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