зеркало из https://github.com/mozilla/pjs.git
Bug 409337. Discard invalidation requests made by hidden plugins. r=josh,sr=jst,a=beltzner
This commit is contained in:
Родитель
ed75eb1fc4
Коммит
7d9c3ecb5f
|
@ -2024,7 +2024,7 @@ NS_IMETHODIMP nsPluginInstanceOwner::InvalidateRect(nsPluginRect *invalidRect)
|
|||
{
|
||||
nsresult rv = NS_ERROR_FAILURE;
|
||||
|
||||
if (mOwner && invalidRect) {
|
||||
if (mOwner && invalidRect && mWidgetVisible) {
|
||||
//no reference count on view
|
||||
nsIView* view = mOwner->GetView();
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче