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:
mscott%netscape.com
2000-04-18 02:45:00 +00:00
parent ac0e34d599
commit ec97d88f7d

View File

@@ -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