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:
Timothy Nikkel 2012-12-12 15:57:08 -06:00
parent 4a290ad298
commit 916d9b69a6

View File

@ -540,7 +540,9 @@ PuppetWidget::Paint()
}
}
mAttachedWidgetListener->DidPaintWindow();
if (mAttachedWidgetListener) {
mAttachedWidgetListener->DidPaintWindow();
}
return NS_OK;
}