Fixes for the 'timing' problem, where load time is reported incorrectly. Things seem to work now, except the very first load.

This commit is contained in:
warren@netscape.com
1999-07-30 07:50:35 +00:00
parent eb6c185393
commit c9c6271e3f
4 changed files with 74 additions and 54 deletions

View File

@@ -1329,10 +1329,12 @@ nsWebShell::GetObserver(nsIStreamObserver*& aResult)
NS_IMETHODIMP
nsWebShell::SetDocLoaderObserver(nsIDocumentLoaderObserver* anObserver)
{
// if (anObserver != nsnull) {
NS_IF_RELEASE(mDocLoaderObserver);
mDocLoaderObserver = anObserver;
NS_IF_ADDREF(mDocLoaderObserver);
// }
return NS_OK;
}