Fix for 27486, r=rickg, a=rickg
git-svn-id: svn://10.0.0.236/trunk@61706 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user