Bug #36119 --> implement DoContent for nsBrowserInstance. This broke over the weekend and caused us to fail
to load browser urls in a current browser window from the mail window. git-svn-id: svn://10.0.0.236/trunk@66240 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1390,8 +1390,11 @@ NS_IMETHODIMP
|
||||
nsBrowserInstance::DoContent(const char *aContentType, nsURILoadCommand aCommand, const char *aWindowTarget,
|
||||
nsIChannel *aChannel, nsIStreamListener **aContentHandler, PRBool *aAbortProcess)
|
||||
{
|
||||
NS_ERROR("This shouldn't be getting called");
|
||||
return NS_ERROR_FAILURE;
|
||||
// forward the DoContent call to our content area webshell
|
||||
nsCOMPtr<nsIURIContentListener> ctnListener (do_GetInterface(mContentAreaDocShell));
|
||||
if (ctnListener)
|
||||
return ctnListener->DoContent(aContentType, aCommand, aWindowTarget, aChannel, aContentHandler, aAbortProcess);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
||||
Reference in New Issue
Block a user