mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 814953 - Check for possible widget tear down before calling UpdateWindow in widget's Show. r=bbondy
This commit is contained in:
parent
5b57fb177d
commit
b1c0111f55
@ -1195,7 +1195,7 @@ NS_METHOD nsWindow::Show(bool bState)
|
||||
#ifdef MOZ_XUL
|
||||
if (!wasVisible && bState) {
|
||||
Invalidate();
|
||||
if (syncInvalidate) {
|
||||
if (syncInvalidate && !mInDtor && !mOnDestroyCalled) {
|
||||
::UpdateWindow(mWnd);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user