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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user