Bug 821517 - Remove MOZ_ASSERT(mInitThread) r=dougt
authorKan-Ru Chen (陳侃如) <kanru@kanru.info>
Mon, 24 Dec 2012 10:53:37 +0800
changeset 126090 3980b1b6d16314c44d05553fc900d5011ce6324d
parent 126089 71b0dfee3df2abe9fa24bce48ab2cdb93c0d8d7b
child 126091 8a71e8b545dcb31f1c74c621060cddf996779e25
push id2151
push userlsblakk@mozilla.com
push dateTue, 19 Feb 2013 18:06:57 +0000
treeherdermozilla-beta@4952e88741ec [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdougt
bugs821517
milestone20.0a1
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
Bug 821517 - Remove MOZ_ASSERT(mInitThread) r=dougt
dom/system/gonk/GonkGPSGeolocationProvider.cpp
--- a/dom/system/gonk/GonkGPSGeolocationProvider.cpp
+++ b/dom/system/gonk/GonkGPSGeolocationProvider.cpp
@@ -592,17 +592,16 @@ GonkGPSGeolocationProvider::Watch(nsIGeo
   mLocationCallback = aCallback;
   return NS_OK;
 }
 
 NS_IMETHODIMP
 GonkGPSGeolocationProvider::Shutdown()
 {
   MOZ_ASSERT(NS_IsMainThread());
-  MOZ_ASSERT(mInitThread);
 
   if (!mStarted) {
     return NS_OK;
   }
   mStarted = false;
 
   if (mRIL) {
     mRIL->UnregisterDataCallCallback(this);