Bug 851641. Don't make view visibility changes immediately to the underlying widget. Post a pending update to do it. r=roc,mats
Bug 851641. Make nsView::DoResetWidgetBounds safe against any kind of painting or flushing happening during it. r=mats
Bug 851641. Simplify the logic in nsView::DoResetWidgetBounds. r=tnikkel