From 32dfaef124f5a23b8e8d19007e2095a2cefb84e1 Mon Sep 17 00:00:00 2001 From: Olli Pettay Date: Fri, 24 Apr 2009 16:36:58 +0300 Subject: [PATCH] Bug 489965, r+sr=bz --- content/html/document/src/nsPluginDocument.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/html/document/src/nsPluginDocument.cpp b/content/html/document/src/nsPluginDocument.cpp index b8a32461b8c2..88e8e13f6f94 100644 --- a/content/html/document/src/nsPluginDocument.cpp +++ b/content/html/document/src/nsPluginDocument.cpp @@ -126,7 +126,7 @@ nsPluginStreamListener::SetupPlugin() nsCOMPtr embed = mPluginDoc->GetPluginContent(); // Now we have a frame for our , start the load - nsIPresShell* shell = mDocument->GetPrimaryShell(); + nsCOMPtr shell = mDocument->GetPrimaryShell(); if (!shell) { // Can't instantiate w/o a shell mPluginDoc->AllowNormalInstantiation();