зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
4c8c939f0b
Коммит
099399be59
|
@ -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;
|
||||
}
|
||||
|
||||
// XXX
|
||||
// Should walk category list looking for a component that can
|
||||
|
|
Загрузка…
Ссылка в новой задаче