Resurrect nsIFrameLoader[Owner] as scriptable interfaces; bug 280992 r+sr=bzbarsky

This commit is contained in:
bryner@brianryner.com
2005-02-08 06:55:00 +00:00
parent 66d07db505
commit 2d8d5058d5
8 changed files with 106 additions and 54 deletions

View File

@@ -83,10 +83,7 @@
// we'd need to re-institute a fixed version of bug 98158.
#define MAX_DEPTH_CONTENT_FRAMES 10
nsFrameLoader::~nsFrameLoader()
{
Destroy();
}
NS_IMPL_ISUPPORTS1(nsFrameLoader, nsIFrameLoader)
nsresult
nsFrameLoader::LoadFrame()
@@ -282,7 +279,7 @@ nsFrameLoader::GetDocShell(nsIDocShell **aDocShell)
return NS_OK;
}
void
NS_IMETHODIMP
nsFrameLoader::Destroy()
{
if (mOwnerContent) {
@@ -308,6 +305,7 @@ nsFrameLoader::Destroy()
}
mDocShell = nsnull;
return NS_OK;
}
nsresult