Bug 1185982 - Remove the unused NotifyNetworkActivity::mObs member; r=bagder
authorEhsan Akhgari <ehsan@mozilla.com>
Tue, 21 Jul 2015 09:15:22 -0400
changeset 287902 1d7026c52dbba3c0c89df3a81e3059052a128682
parent 287901 d18e3a6d5149099a25c54f51a8b3972b395dee6b
child 287903 f032c7478c12bef0d343d3c8546ea368471a99b5
push id5067
push userraliiev@mozilla.com
push dateMon, 21 Sep 2015 14:04:52 +0000
treeherdermozilla-beta@14221ffe5b2f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbagder
bugs1185982
milestone42.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 1185982 - Remove the unused NotifyNetworkActivity::mObs member; r=bagder
netwerk/base/NetworkActivityMonitor.cpp
--- a/netwerk/base/NetworkActivityMonitor.cpp
+++ b/netwerk/base/NetworkActivityMonitor.cpp
@@ -165,17 +165,16 @@ public:
     obs->NotifyObservers(nullptr,
                          mDirection == NetworkActivityMonitor::kUpload
                            ? NS_NETWORK_ACTIVITY_BLIP_UPLOAD_TOPIC
                            : NS_NETWORK_ACTIVITY_BLIP_DOWNLOAD_TOPIC,
                          nullptr);
     return NS_OK;
   }
 private:
-  nsCOMPtr<nsIObserverService>      mObs;
   NetworkActivityMonitor::Direction mDirection;
 };
 
 NetworkActivityMonitor * NetworkActivityMonitor::gInstance = nullptr;
 static PRDescIdentity sNetActivityMonitorLayerIdentity;
 static PRIOMethods sNetActivityMonitorLayerMethods;
 static PRIOMethods *sNetActivityMonitorLayerMethodsPtr = nullptr;