Backed out changeset cc42921d3f36 (bug 1121497)
authorCarsten "Tomcat" Book <cbook@mozilla.com>
Tue, 27 Jan 2015 09:16:54 +0100
changeset 225943 80b882dbd0ccf5c519cd0593d58f19bcd8f089e6
parent 225942 740907c7d4ca0de7713cbc4b639b21794236d1e6
child 225944 e28ef69841089b3a0498eec183ffdf68758ce23a
push id54709
push usercbook@mozilla.com
push dateTue, 27 Jan 2015 08:19:22 +0000
treeherdermozilla-inbound@e28ef6984108 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1121497
milestone38.0a1
backs outcc42921d3f3603b6983a6edd008296c8fbe8b1bd
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
Backed out changeset cc42921d3f36 (bug 1121497)
dom/system/mac/CoreLocationLocationProvider.mm
--- 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) {