mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 04:15:43 +00:00
Bug 489965, r+sr=bz
This commit is contained in:
parent
dbaa4b4a99
commit
32dfaef124
@ -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