fix 152429, flash in an iframe crashes with Gdk-ERROR **: BadDrawable; r=bzbarsky, sr=jst, a=asa

git-svn-id: svn://10.0.0.236/trunk@125911 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
serge%netscape.com
2002-07-26 23:30:27 +00:00
parent 86c9fa6d83
commit 16b06ae69f
2 changed files with 8 additions and 4 deletions

View File

@@ -3800,8 +3800,10 @@ NS_IMETHODIMP nsPluginInstanceOwner::Init(nsIPresContext* aPresContext, nsObject
if (cvc) {
nsCOMPtr<nsIContentViewer> cv;
cvc->GetContentViewer(getter_AddRefs(cv));
if (cv)
cv->Show();
if (cv) {
cv->SetSticky(PR_FALSE);
cv->Show();
}
}
}