Bug 1111971 - patch 2 - private DTOR for ListenerAndContextContainer, CLOSED TREE
authorAndrea Marchesini <amarchesini@mozilla.com>
Tue, 13 Jan 2015 19:26:59 +0000
changeset 223619 66150e000a62027ec82dddf4269eac03a7bd1922
parent 223618 8c49a59be57aa5bdaac031ad3e7789b635c1ef89
child 223620 5bb6d798f5b76f73c1bfdcdc220e0e6e270146a5
push id28098
push userkwierso@gmail.com
push dateWed, 14 Jan 2015 00:52:19 +0000
treeherdermozilla-central@e978b8bc5c45 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1111971
milestone38.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 1111971 - patch 2 - private DTOR for ListenerAndContextContainer, CLOSED TREE
netwerk/protocol/websocket/BaseWebSocketChannel.h
--- a/netwerk/protocol/websocket/BaseWebSocketChannel.h
+++ b/netwerk/protocol/websocket/BaseWebSocketChannel.h
@@ -60,20 +60,21 @@ class BaseWebSocketChannel : public nsIW
   class ListenerAndContextContainer MOZ_FINAL
   {
   public:
     NS_INLINE_DECL_THREADSAFE_REFCOUNTING(ListenerAndContextContainer)
 
     ListenerAndContextContainer(nsIWebSocketListener* aListener,
                                 nsISupports* aContext);
 
-    ~ListenerAndContextContainer();
-
     nsCOMPtr<nsIWebSocketListener> mListener;
     nsCOMPtr<nsISupports>          mContext;
+
+  private:
+    ~ListenerAndContextContainer();
   };
 
  protected:
   nsCOMPtr<nsIURI>                mOriginalURI;
   nsCOMPtr<nsIURI>                mURI;
   nsRefPtr<ListenerAndContextContainer> mListenerMT;
   nsCOMPtr<nsIInterfaceRequestor> mCallbacks;
   nsCOMPtr<nsILoadGroup>          mLoadGroup;