Bug 1256061 - Revert patch that didn't do anything.
authorAndrew McCreight <continuation@gmail.com>
Wed, 23 Mar 2016 12:59:14 -0700
changeset 290103 403d085af5dd6ac5a77ee095452fb7a6ff71cc7f
parent 290102 dc60c84a3b2f1071a87d3fa781eb05246b210c7f
child 290104 9d73e42396c8b5d1a59fc6ebd1537e6e8599fdf3
push id74099
push useramccreight@mozilla.com
push dateWed, 23 Mar 2016 19:59:32 +0000
treeherdermozilla-inbound@9d73e42396c8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1256061
milestone48.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 1256061 - Revert patch that didn't do anything.
dom/geolocation/nsGeolocation.cpp
--- a/dom/geolocation/nsGeolocation.cpp
+++ b/dom/geolocation/nsGeolocation.cpp
@@ -770,17 +770,17 @@ nsGeolocationRequest::Shutdown()
 // nsGeolocationRequest::TimerCallbackHolder
 ////////////////////////////////////////////////////
 
 NS_IMPL_ISUPPORTS(nsGeolocationRequest::TimerCallbackHolder, nsISupports, nsITimerCallback)
 
 NS_IMETHODIMP
 nsGeolocationRequest::TimerCallbackHolder::Notify(nsITimer*)
 {
-  if (mRequest.get()) {
+  if (mRequest) {
     mRequest->Notify();
   }
   return NS_OK;
 }
 
 
 ////////////////////////////////////////////////////
 // nsGeolocationService