Bug 805745. Paint notification can flush (via WillPaint), so re-check if the listener still exists after on puppet widget backend. r=cjones
This commit is contained in:
@@ -540,7 +540,9 @@ PuppetWidget::Paint()
|
||||
}
|
||||
}
|
||||
|
||||
mAttachedWidgetListener->DidPaintWindow();
|
||||
if (mAttachedWidgetListener) {
|
||||
mAttachedWidgetListener->DidPaintWindow();
|
||||
}
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user