updated to match nsIWebShell interface change for travis@netscape.com

This commit is contained in:
danm%netscape.com 1999-11-29 21:15:32 +00:00
parent 3855f4a78a
commit 60ece7d3bb
2 changed files with 10 additions and 10 deletions

View File

@ -204,7 +204,7 @@ public:
NS_IMETHOD GetContainer(nsIWebShellContainer*& aResult);
NS_IMETHOD GetTopLevelWindow(nsIWebShellContainer** aWebShellWindow);
NS_IMETHOD SetDocLoaderObserver(nsIDocumentLoaderObserver* anObserver);
NS_IMETHOD GetDocLoaderObserver(nsIDocumentLoaderObserver*& aResult);
NS_IMETHOD GetDocLoaderObserver(nsIDocumentLoaderObserver** aResult);
NS_IMETHOD SetPrefs(nsIPref* aPrefs);
NS_IMETHOD GetPrefs(nsIPref*& aPrefs);
NS_IMETHOD GetRootWebShell(nsIWebShell*& aResult);
@ -1306,9 +1306,9 @@ nsWebShell::SetDocLoaderObserver(nsIDocumentLoaderObserver* anObserver)
NS_IMETHODIMP
nsWebShell::GetDocLoaderObserver(nsIDocumentLoaderObserver*& aResult)
nsWebShell::GetDocLoaderObserver(nsIDocumentLoaderObserver** aResult)
{
aResult = mDocLoaderObserver;
*aResult = mDocLoaderObserver;
NS_IF_ADDREF(mDocLoaderObserver);
return NS_OK;
}
@ -3319,7 +3319,7 @@ nsWebShell::OnStartDocumentLoad(nsIDocumentLoader* loader,
nsresult res = GetRootWebShell(*getter_AddRefs(root));
if (NS_SUCCEEDED(res) && root)
root->GetDocLoaderObserver(*getter_AddRefs(dlObserver));
root->GetDocLoaderObserver(getter_AddRefs(dlObserver));
}
else
{
@ -3408,7 +3408,7 @@ nsWebShell::OnEndDocumentLoad(nsIDocumentLoader* loader,
nsresult res = GetRootWebShell(*getter_AddRefs(root));
if (NS_SUCCEEDED(res) && root)
root->GetDocLoaderObserver(*getter_AddRefs(dlObserver));
root->GetDocLoaderObserver(getter_AddRefs(dlObserver));
}
else
{

View File

@ -204,7 +204,7 @@ public:
NS_IMETHOD GetContainer(nsIWebShellContainer*& aResult);
NS_IMETHOD GetTopLevelWindow(nsIWebShellContainer** aWebShellWindow);
NS_IMETHOD SetDocLoaderObserver(nsIDocumentLoaderObserver* anObserver);
NS_IMETHOD GetDocLoaderObserver(nsIDocumentLoaderObserver*& aResult);
NS_IMETHOD GetDocLoaderObserver(nsIDocumentLoaderObserver** aResult);
NS_IMETHOD SetPrefs(nsIPref* aPrefs);
NS_IMETHOD GetPrefs(nsIPref*& aPrefs);
NS_IMETHOD GetRootWebShell(nsIWebShell*& aResult);
@ -1306,9 +1306,9 @@ nsWebShell::SetDocLoaderObserver(nsIDocumentLoaderObserver* anObserver)
NS_IMETHODIMP
nsWebShell::GetDocLoaderObserver(nsIDocumentLoaderObserver*& aResult)
nsWebShell::GetDocLoaderObserver(nsIDocumentLoaderObserver** aResult)
{
aResult = mDocLoaderObserver;
*aResult = mDocLoaderObserver;
NS_IF_ADDREF(mDocLoaderObserver);
return NS_OK;
}
@ -3319,7 +3319,7 @@ nsWebShell::OnStartDocumentLoad(nsIDocumentLoader* loader,
nsresult res = GetRootWebShell(*getter_AddRefs(root));
if (NS_SUCCEEDED(res) && root)
root->GetDocLoaderObserver(*getter_AddRefs(dlObserver));
root->GetDocLoaderObserver(getter_AddRefs(dlObserver));
}
else
{
@ -3408,7 +3408,7 @@ nsWebShell::OnEndDocumentLoad(nsIDocumentLoader* loader,
nsresult res = GetRootWebShell(*getter_AddRefs(root));
if (NS_SUCCEEDED(res) && root)
root->GetDocLoaderObserver(*getter_AddRefs(dlObserver));
root->GetDocLoaderObserver(getter_AddRefs(dlObserver));
}
else
{