Bug 402982, fixing bustage

This commit is contained in:
Olli.Pettay@helsinki.fi 2008-02-26 07:10:01 -08:00
parent 356b441998
commit 77e7b4ed3f
2 changed files with 6 additions and 4 deletions

View File

@ -89,6 +89,7 @@ public:
if (base_win) {
base_win->Destroy();
}
return NS_OK;
}
nsRefPtr<nsIDocShell> mDocShell;
};

View File

@ -62,16 +62,17 @@ public:
mInDestructor(PR_FALSE)
{}
~nsFrameLoader() {
mInDestructor = PR_TRUE;
nsFrameLoader::Destroy();
}
NS_DECL_CYCLE_COLLECTING_ISUPPORTS
NS_DECL_CYCLE_COLLECTION_CLASS(nsFrameLoader)
NS_DECL_NSIFRAMELOADER
NS_HIDDEN_(nsresult) CheckForRecursiveLoad(nsIURI* aURI);
void Finalize();
private:
~nsFrameLoader() {
mInDestructor = PR_TRUE;
nsFrameLoader::Destroy();
}
NS_HIDDEN_(nsresult) EnsureDocShell();
NS_HIDDEN_(void) GetURL(nsString& aURL);