зеркало из https://github.com/mozilla/pjs.git
Bug 453531: Remove dead mIsPopup member from nsXULDocument. r+sr=sicking.
This commit is contained in:
Родитель
4f74091e79
Коммит
34b4718d0e
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче