Bug 786650 - Abort load of channel-having plugins without frames at the appropriate point (second attempt). r=josh

This commit is contained in:
John Schoenick
2012-08-31 10:52:50 -07:00
parent e808cc9b07
commit 82f4904998
2 changed files with 29 additions and 26 deletions

View File

@@ -3224,6 +3224,7 @@ nsresult nsPluginInstanceOwner::Init(nsIContent* aContent)
// document is destroyed before we try to create the new one.
objFrame->PresContext()->EnsureVisible();
} else {
NS_NOTREACHED("Should not be initializing plugin without a frame");
return NS_ERROR_FAILURE;
}