Bug 773150 - FailDelayManager passing wrong type to MOZ_COUNT_CTR. r=mcmanus
authorJason Duell <jduell.mcbugs@gmail.com>
Thu, 12 Jul 2012 18:19:45 -0700
changeset 99141 6cd5f16a8c3c685f723e6326bbf7d97f13ba27aa
parent 99140 e46b2b4fb65a22f0da62a69352f79f89e3d9422b
child 99142 9b2fb5e208e4c5332a2642540724aeb88ffd8e6b
push id11841
push userjduell@mozilla.com
push dateFri, 13 Jul 2012 01:20:02 +0000
treeherdermozilla-inbound@6cd5f16a8c3c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmcmanus
bugs773150
milestone16.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 773150 - FailDelayManager passing wrong type to MOZ_COUNT_CTR. r=mcmanus
netwerk/protocol/websocket/WebSocketChannel.cpp
--- a/netwerk/protocol/websocket/WebSocketChannel.cpp
+++ b/netwerk/protocol/websocket/WebSocketChannel.cpp
@@ -153,34 +153,34 @@ private:
   PRUint32   mNextDelay;   // milliseconds
 };
 
 class FailDelayManager
 {
 public:
   FailDelayManager()
   {
-    MOZ_COUNT_CTOR(nsWSAdmissionManager);
+    MOZ_COUNT_CTOR(FailDelayManager);
 
     mDelaysDisabled = false;
 
     nsCOMPtr<nsIPrefBranch> prefService =
       do_GetService(NS_PREFSERVICE_CONTRACTID);
     bool boolpref = true;
     nsresult rv;
     rv = prefService->GetBoolPref("network.websocket.delay-failed-reconnects",
                                   &boolpref);
     if (NS_SUCCEEDED(rv) && !boolpref) {
       mDelaysDisabled = true;
     }
   }
 
   ~FailDelayManager()
   {
-    MOZ_COUNT_DTOR(nsWSAdmissionManager);
+    MOZ_COUNT_DTOR(FailDelayManager);
     for (PRUint32 i = 0; i < mEntries.Length(); i++) {
       delete mEntries[i];
     }
   }
 
   void Add(nsCString &address, PRInt32 port)
   {
     NS_ABORT_IF_FALSE(NS_IsMainThread(), "not main thread");