зеркало из https://github.com/mozilla/pjs.git
Removing unused member variables
This commit is contained in:
Родитель
013c418b73
Коммит
75e7829c94
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче