Bug 453531: Remove dead mIsPopup member from nsXULDocument. r+sr=sicking.

This commit is contained in:
Eli Friedman 2008-09-04 02:24:21 -07:00
Родитель 4f74091e79
Коммит 34b4718d0e
2 изменённых файлов: 0 добавлений и 13 удалений

Просмотреть файл

@ -272,16 +272,6 @@ nsXULDocument::~nsXULDocument()
if (mDocumentURI)
nsXULPrototypeCache::GetInstance()->RemoveFromFastLoadSet(mDocumentURI);
}
// The destructor of nsDocument will delete references to style
// sheets, but we don't want that if we're a popup document, so
// then we'll clear the stylesheets array here to prevent that
// from happening.
if (mIsPopup) {
mStyleSheets.Clear();
mStyleAttrStyleSheet = nsnull;
mAttrStyleSheet = nsnull;
}
}
nsresult

Просмотреть файл

@ -206,8 +206,6 @@ protected:
nsresult GetViewportSize(PRInt32* aWidth, PRInt32* aHeight);
void SetIsPopup(PRBool isPopup) { mIsPopup = isPopup; }
nsresult PrepareToLoad(nsISupports* aContainer,
const char* aCommand,
nsIChannel* aChannel,
@ -278,7 +276,6 @@ protected:
// the element's namespace has no registered ID attribute name.
nsTHashtable<nsRefMapEntry> mRefMap;
nsCOMPtr<nsIRDFDataSource> mLocalStore;
PRPackedBool mIsPopup;
PRPackedBool mApplyingPersistedAttrs;
PRPackedBool mIsWritingFastLoad;
PRPackedBool mDocumentLoaded;