mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
Removing unused member variables
This commit is contained in:
parent
911a6cc918
commit
6cf58f343a
@ -53,14 +53,8 @@ public:
|
||||
nsIID *aSinkIID = nsnull);
|
||||
|
||||
private:
|
||||
nsIURL * mUrl;
|
||||
nsIDTD * mDTD;
|
||||
nsIContentSink * mSink;
|
||||
nsIVector * mStreamObjects;
|
||||
|
||||
public:
|
||||
nsIParser * mParser;
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user