author | Carsten "Tomcat" Book <cbook@mozilla.com> |
Tue, 27 Jan 2015 09:16:54 +0100 | |
changeset 225943 | 80b882dbd0ccf5c519cd0593d58f19bcd8f089e6 |
parent 225942 | 740907c7d4ca0de7713cbc4b639b21794236d1e6 |
child 225944 | e28ef69841089b3a0498eec183ffdf68758ce23a |
push id | 54709 |
push user | cbook@mozilla.com |
push date | Tue, 27 Jan 2015 08:19:22 +0000 |
treeherder | mozilla-inbound@e28ef6984108 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
bugs | 1121497 |
milestone | 38.0a1 |
backs out | cc42921d3f3603b6983a6edd008296c8fbe8b1bd |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/dom/system/mac/CoreLocationLocationProvider.mm +++ b/dom/system/mac/CoreLocationLocationProvider.mm @@ -206,18 +206,16 @@ CoreLocationLocationProvider::Startup() nsAutoPtr<CoreLocationObjects> clObjs(new CoreLocationObjects()); nsresult rv = clObjs->Init(this); NS_ENSURE_SUCCESS(rv, rv); mCLObjects = clObjs.forget(); } - // Must be stopped before starting or response (success or failure) is not guaranteed - [mCLObjects->mLocationManager stopUpdatingLocation]; [mCLObjects->mLocationManager startUpdatingLocation]; return NS_OK; } NS_IMETHODIMP CoreLocationLocationProvider::Watch(nsIGeolocationUpdate* aCallback) { if (mCallback) {