зеркало из https://github.com/mozilla/pjs.git
Fix for 27486, r=rickg, a=rickg
This commit is contained in:
Родитель
c09f2d0011
Коммит
e871987c35
|
@ -411,8 +411,7 @@ nsObjectFrame::Destroy(nsIPresContext* aPresContext)
|
|||
if(mInstanceOwner != nsnull)
|
||||
{
|
||||
nsIPluginInstance *inst;
|
||||
mInstanceOwner->GetInstance(inst);
|
||||
if(inst != nsnull)
|
||||
if(NS_OK == mInstanceOwner->GetInstance(inst))
|
||||
{
|
||||
inst->Stop();
|
||||
inst->SetWindow(nsnull);
|
||||
|
|
|
@ -411,8 +411,7 @@ nsObjectFrame::Destroy(nsIPresContext* aPresContext)
|
|||
if(mInstanceOwner != nsnull)
|
||||
{
|
||||
nsIPluginInstance *inst;
|
||||
mInstanceOwner->GetInstance(inst);
|
||||
if(inst != nsnull)
|
||||
if(NS_OK == mInstanceOwner->GetInstance(inst))
|
||||
{
|
||||
inst->Stop();
|
||||
inst->SetWindow(nsnull);
|
||||
|
|
Загрузка…
Ссылка в новой задаче