mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 489965, r+sr=bz
This commit is contained in:
parent
1f1ccaea82
commit
9307ea0958
@ -126,7 +126,7 @@ nsPluginStreamListener::SetupPlugin()
|
||||
nsCOMPtr<nsIContent> embed = mPluginDoc->GetPluginContent();
|
||||
|
||||
// Now we have a frame for our <embed>, start the load
|
||||
nsIPresShell* shell = mDocument->GetPrimaryShell();
|
||||
nsCOMPtr<nsIPresShell> shell = mDocument->GetPrimaryShell();
|
||||
if (!shell) {
|
||||
// Can't instantiate w/o a shell
|
||||
mPluginDoc->AllowNormalInstantiation();
|
||||
|
Loading…
Reference in New Issue
Block a user