Fix for 27486, r=stanley.ho@eng.sun.com, a=rickg
This commit is contained in:
@@ -413,8 +413,8 @@ nsObjectFrame::Destroy(nsIPresContext* aPresContext)
|
||||
nsIPluginInstance *inst;
|
||||
if(NS_OK == mInstanceOwner->GetInstance(inst))
|
||||
{
|
||||
inst->Stop();
|
||||
inst->SetWindow(nsnull);
|
||||
inst->Stop();
|
||||
}
|
||||
}
|
||||
return nsObjectFrameSuper::Destroy(aPresContext);
|
||||
|
||||
@@ -413,8 +413,8 @@ nsObjectFrame::Destroy(nsIPresContext* aPresContext)
|
||||
nsIPluginInstance *inst;
|
||||
if(NS_OK == mInstanceOwner->GetInstance(inst))
|
||||
{
|
||||
inst->Stop();
|
||||
inst->SetWindow(nsnull);
|
||||
inst->Stop();
|
||||
}
|
||||
}
|
||||
return nsObjectFrameSuper::Destroy(aPresContext);
|
||||
|
||||
Reference in New Issue
Block a user