diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-05-12 16:19:33 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-05-12 16:19:58 +0200 |
commit | 6971bbb2277a260e398b8811be1970f8b3853357 (patch) | |
tree | 8c593b8e09f2cfb457df72d40dc719bb0e0df066 /dom/base/Navigator.cpp | |
parent | f8b5e24d175a9bee266d005d6c81a189044d820b (diff) | |
download | uxp-6971bbb2277a260e398b8811be1970f8b3853357.tar.gz |
Remove MOZ_WIDGET_GONK [1/2]
Tag mcp-graveyard/UXP#288
Diffstat (limited to 'dom/base/Navigator.cpp')
-rw-r--r-- | dom/base/Navigator.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/dom/base/Navigator.cpp b/dom/base/Navigator.cpp index 5c315517c1..ed96ee23b9 100644 --- a/dom/base/Navigator.cpp +++ b/dom/base/Navigator.cpp @@ -767,12 +767,6 @@ StaticRefPtr<VibrateWindowListener> gVibrateWindowListener; static bool MayVibrate(nsIDocument* doc) { -#if MOZ_WIDGET_GONK - if (XRE_IsParentProcess()) { - return true; // The system app can always vibrate - } -#endif // MOZ_WIDGET_GONK - // Hidden documents cannot start or stop a vibration. return (doc && !doc->Hidden()); } |