mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 02:14:43 +00:00
Bug 1861609: Allow Mac to use our geolocation fallback when system geolocation is disabled r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D196371
This commit is contained in:
parent
f3819a9d6c
commit
52917acfbb
@ -65,12 +65,6 @@ static const CLLocationAccuracy kDEFAULT_ACCURACY =
|
||||
|
||||
console->LogStringMessage(NS_ConvertUTF8toUTF16([message UTF8String]).get());
|
||||
|
||||
if ([aError code] == kCLErrorDenied) {
|
||||
mProvider->NotifyError(
|
||||
dom::GeolocationPositionError_Binding::PERMISSION_DENIED);
|
||||
return;
|
||||
}
|
||||
|
||||
// The CL provider does not fallback to GeoIP, so use
|
||||
// NetworkGeolocationProvider for this. The concept here is: on error, hand
|
||||
// off geolocation to MLS, which will then report back a location or error.
|
||||
|
Loading…
Reference in New Issue
Block a user