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 | 6571d2ceb42930dab01677ef0e95e732d5076fb8 (patch) | |
tree | 8c593b8e09f2cfb457df72d40dc719bb0e0df066 /dom/geolocation | |
parent | 2f359ed80ccb2cab440c0cda886404ed42ad9fdf (diff) | |
download | UXP-6571d2ceb42930dab01677ef0e95e732d5076fb8.tar UXP-6571d2ceb42930dab01677ef0e95e732d5076fb8.tar.gz UXP-6571d2ceb42930dab01677ef0e95e732d5076fb8.tar.lz UXP-6571d2ceb42930dab01677ef0e95e732d5076fb8.tar.xz UXP-6571d2ceb42930dab01677ef0e95e732d5076fb8.zip |
Remove MOZ_WIDGET_GONK [1/2]
Tag #288
Diffstat (limited to 'dom/geolocation')
-rw-r--r-- | dom/geolocation/nsGeolocation.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/dom/geolocation/nsGeolocation.cpp b/dom/geolocation/nsGeolocation.cpp index 9fcdb350a..2d84a3e11 100644 --- a/dom/geolocation/nsGeolocation.cpp +++ b/dom/geolocation/nsGeolocation.cpp @@ -33,10 +33,6 @@ class nsIPrincipal; #include "AndroidLocationProvider.h" #endif -#ifdef MOZ_WIDGET_GONK -#include "GonkGPSGeolocationProvider.h" -#endif - #ifdef MOZ_GPSD #include "GpsdLocationProvider.h" #endif @@ -688,15 +684,6 @@ nsresult nsGeolocationService::Init() mProvider = new AndroidLocationProvider(); #endif -#ifdef MOZ_WIDGET_GONK - // GonkGPSGeolocationProvider can be started at boot up time for initialization reasons. - // do_getService gets hold of the already initialized component and starts - // processing location requests immediately. - // do_Createinstance will create multiple instances of the provider which is not right. - // bug 993041 - mProvider = do_GetService(GONK_GPS_GEOLOCATION_PROVIDER_CONTRACTID); -#endif - #ifdef MOZ_WIDGET_GTK #ifdef MOZ_GPSD if (Preferences::GetBool("geo.provider.use_gpsd", false)) { |