Removed the call to CanHandleContentType as this need to be re-worked now that there is only going to be one DocShell for all content types.

This commit is contained in:
tbogard%aol.net 1999-11-12 07:29:45 +00:00
Родитель 4c8c939f0b
Коммит 099399be59
1 изменённых файлов: 1 добавлений и 6 удалений

Просмотреть файл

@ -892,12 +892,7 @@ void nsWebBrowser::UpdateListeners()
nsresult nsWebBrowser::CreateDocShell(const PRUnichar* contentType)
{
if(mDocShell)
{
PRBool fCanHandle = PR_FALSE;
mDocShell->CanHandleContentType(contentType, &fCanHandle);
if(fCanHandle)
return NS_OK;
}
return NS_OK;
// XXX
// Should walk category list looking for a component that can