summaryrefslogtreecommitdiffstats
path: root/dom/base/nsPIDOMWindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'dom/base/nsPIDOMWindow.h')
-rw-r--r--dom/base/nsPIDOMWindow.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/base/nsPIDOMWindow.h b/dom/base/nsPIDOMWindow.h
index 3fd666beb..47affbb06 100644
--- a/dom/base/nsPIDOMWindow.h
+++ b/dom/base/nsPIDOMWindow.h
@@ -444,7 +444,7 @@ public:
*/
virtual void DisableDeviceSensor(uint32_t aType) = 0;
-#if defined(MOZ_WIDGET_ANDROID) || defined(MOZ_WIDGET_GONK)
+#if defined(MOZ_WIDGET_ANDROID)
virtual void EnableOrientationChangeListener() = 0;
virtual void DisableOrientationChangeListener() = 0;
#endif