Bug 786650 - Abort load of channel-having plugins without frames at the appropriate point (second attempt). r=josh
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user