From 362d7c27b14f26d1a0f3d078d5bc17a0b59f099c Mon Sep 17 00:00:00 2001 From: "mscott%netscape.com" Date: Sun, 2 Apr 2000 21:00:26 +0000 Subject: [PATCH] Make sure nsIWebProgressListener is added to the GetInterface method for docshell. git-svn-id: svn://10.0.0.236/trunk@64951 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/docshell/base/nsDocShell.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/docshell/base/nsDocShell.cpp b/mozilla/docshell/base/nsDocShell.cpp index 018a4b0173b..05ff3bcd9cf 100644 --- a/mozilla/docshell/base/nsDocShell.cpp +++ b/mozilla/docshell/base/nsDocShell.cpp @@ -161,7 +161,7 @@ NS_IMETHODIMP nsDocShell::GetInterface(const nsIID& aIID, void** aSink) if(aIID.Equals(NS_GET_IID(nsIURIContentListener)) && NS_SUCCEEDED(EnsureContentListener())) *aSink = mContentListener; - if(aIID.Equals(NS_GET_IID(nsIURIContentListener)) && + if(aIID.Equals(NS_GET_IID(nsIWebProgressListener)) && NS_SUCCEEDED(EnsureWebProgressListener())) *aSink = mWebProgressListener; else if(aIID.Equals(NS_GET_IID(nsIScriptGlobalObject)) &&