зеркало из https://github.com/mozilla/pjs.git
Addressing #22954, fixing the glitch when layout returned OK even if did not find a plugin causing a crash, r=pollmann
This commit is contained in:
Родитель
09160b9a9f
Коммит
bfb49167ac
|
@ -311,6 +311,8 @@ nsLayoutDLF::CreateInstance(const char *aCommand,
|
|||
{
|
||||
if(pluginHost->IsPluginEnabledForType(aContentType) == NS_OK)
|
||||
return NS_NewPluginContentViewer(aCommand, aDocListener, aDocViewer);
|
||||
else
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
return rv;
|
||||
|
|
Загрузка…
Ссылка в новой задаче