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
This commit is contained in:
@@ -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)) &&
|
||||
|
||||
Reference in New Issue
Block a user