mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 809758 - Ensure sGeoInitPending is set to false prior to notifying ServiceReady. r=gwagner. a=blocking-basecamp
This commit is contained in:
parent
1c428080a1
commit
59f988bb46
@ -746,11 +746,10 @@ nsGeolocationService::HandleMozsettingValue(const bool aValue)
|
||||
}
|
||||
|
||||
if (sGeoInitPending) {
|
||||
sGeoInitPending = false;
|
||||
for (uint32_t i = 0, length = mGeolocators.Length(); i < length; ++i) {
|
||||
mGeolocators[i]->ServiceReady();
|
||||
}
|
||||
|
||||
sGeoInitPending = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user