api change to nsIWebShell and nsIDocumentLoaderObserver. I've replaced all the old method delarations with the new versions. We now pass 'nsresult' types into the On*() methods instead of PRInt32. The PRInt32 arg type was causing data loss.
I also checked in a fix for bug 10848 (which prompted the api change), and 10549 (these changes were in nsWebShell.cpp). git-svn-id: svn://10.0.0.236/trunk@42245 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -2897,7 +2897,7 @@ NS_IMETHODIMP
|
||||
nsEditorShell::OnEndDocumentLoad(nsIDocumentLoader* loader, nsIURI *aUrl, PRInt32 aStatus,
|
||||
nsIDocumentLoaderObserver * aObserver)
|
||||
#else
|
||||
nsEditorShell::OnEndDocumentLoad(nsIDocumentLoader* loader, nsIChannel* channel, PRInt32 aStatus,
|
||||
nsEditorShell::OnEndDocumentLoad(nsIDocumentLoader* loader, nsIChannel* channel, nsresult aStatus,
|
||||
nsIDocumentLoaderObserver * aObserver)
|
||||
#endif // NECKO
|
||||
{
|
||||
@@ -2955,7 +2955,7 @@ nsEditorShell::OnEndURLLoad(nsIDocumentLoader* loader,
|
||||
nsIURI* aURL, PRInt32 aStatus)
|
||||
#else
|
||||
nsEditorShell::OnEndURLLoad(nsIDocumentLoader* loader,
|
||||
nsIChannel* channel, PRInt32 aStatus)
|
||||
nsIChannel* channel, nsresult aStatus)
|
||||
#endif // NECKO
|
||||
{
|
||||
return NS_OK;
|
||||
|
||||
Reference in New Issue
Block a user