Removing unused member variables

This commit is contained in:
spider%netscape.com 1998-10-21 19:51:01 +00:00
parent 911a6cc918
commit 6cf58f343a
2 changed files with 0 additions and 14 deletions

View File

@ -53,14 +53,8 @@ public:
nsIID *aSinkIID = nsnull);
private:
nsIURL * mUrl;
nsIDTD * mDTD;
nsIContentSink * mSink;
nsIVector * mStreamObjects;
public:
nsIParser * mParser;
};

View File

@ -45,18 +45,10 @@ static NS_DEFINE_IID(kIStreamListenerIID, NS_ISTREAMLISTENER_IID);
nsStreamManager::nsStreamManager()
{
NS_INIT_REFCNT();
mUrl = nsnull;
mParser = nsnull;
mDTD = nsnull;
mSink = nsnull;
}
nsStreamManager::~nsStreamManager()
{
NS_IF_RELEASE(mUrl);
NS_IF_RELEASE(mParser);
NS_IF_RELEASE(mSink);
if (mStreamObjects != nsnull) {
mStreamObjects->RemoveAll();
NS_RELEASE(mStreamObjects);