From 492fbc9f3fc4d2e8a91cd79e5cff56181961faca Mon Sep 17 00:00:00 2001 From: "sspitzer%netscape.com" Date: Sun, 12 Mar 2000 08:06:14 +0000 Subject: [PATCH] add nsAsyncStreamListener to the bloaty logs. --- netwerk/base/src/nsAsyncStreamListener.cpp | 4 ---- netwerk/base/src/nsAsyncStreamListener.h | 10 ++++++++-- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/netwerk/base/src/nsAsyncStreamListener.cpp b/netwerk/base/src/nsAsyncStreamListener.cpp index eeac44d06951..a636989eb720 100644 --- a/netwerk/base/src/nsAsyncStreamListener.cpp +++ b/netwerk/base/src/nsAsyncStreamListener.cpp @@ -128,10 +128,6 @@ nsStreamListenerEvent::Fire(nsIEventQueue* aEventQueue) //////////////////////////////////////////////////////////////////////////////// -nsAsyncStreamObserver::~nsAsyncStreamObserver() -{ -} - NS_IMPL_THREADSAFE_ADDREF(nsAsyncStreamObserver) NS_IMPL_THREADSAFE_RELEASE(nsAsyncStreamObserver) NS_IMPL_QUERY_INTERFACE2(nsAsyncStreamObserver, diff --git a/netwerk/base/src/nsAsyncStreamListener.h b/netwerk/base/src/nsAsyncStreamListener.h index 5aa1b03d80f5..bf5ca0eb5690 100644 --- a/netwerk/base/src/nsAsyncStreamListener.h +++ b/netwerk/base/src/nsAsyncStreamListener.h @@ -45,7 +45,7 @@ public: NS_INIT_REFCNT(); } - virtual ~nsAsyncStreamObserver(); + virtual ~nsAsyncStreamObserver() {} static NS_METHOD Create(nsISupports *aOuter, REFNSIID aIID, void **aResult); @@ -94,7 +94,13 @@ public: } // nsAsyncStreamListener methods: - nsAsyncStreamListener() {} + nsAsyncStreamListener() { + MOZ_COUNT_CTOR(nsAsyncStreamListener); + } + + virtual ~nsAsyncStreamListener() { + MOZ_COUNT_DTOR(nsAsyncStreamListener); + } static NS_METHOD Create(nsISupports *aOuter, REFNSIID aIID, void **aResult);