зеркало из https://github.com/mozilla/pjs.git
fix 152429, flash in an iframe crashes with Gdk-ERROR **: BadDrawable; r=bzbarsky, sr=jst, a=asa
This commit is contained in:
Родитель
42ada52952
Коммит
9dc0906657
|
@ -3800,8 +3800,10 @@ NS_IMETHODIMP nsPluginInstanceOwner::Init(nsIPresContext* aPresContext, nsObject
|
||||||
if (cvc) {
|
if (cvc) {
|
||||||
nsCOMPtr<nsIContentViewer> cv;
|
nsCOMPtr<nsIContentViewer> cv;
|
||||||
cvc->GetContentViewer(getter_AddRefs(cv));
|
cvc->GetContentViewer(getter_AddRefs(cv));
|
||||||
if (cv)
|
if (cv) {
|
||||||
cv->Show();
|
cv->SetSticky(PR_FALSE);
|
||||||
|
cv->Show();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -3800,8 +3800,10 @@ NS_IMETHODIMP nsPluginInstanceOwner::Init(nsIPresContext* aPresContext, nsObject
|
||||||
if (cvc) {
|
if (cvc) {
|
||||||
nsCOMPtr<nsIContentViewer> cv;
|
nsCOMPtr<nsIContentViewer> cv;
|
||||||
cvc->GetContentViewer(getter_AddRefs(cv));
|
cvc->GetContentViewer(getter_AddRefs(cv));
|
||||||
if (cv)
|
if (cv) {
|
||||||
cv->Show();
|
cv->SetSticky(PR_FALSE);
|
||||||
|
cv->Show();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче