зеркало из https://github.com/mozilla/gecko-dev.git
mark the hidden window's widget as invisible (on all platforms, now). bug 207742 r=brendan,bryner
This commit is contained in:
Родитель
5cef6bf2e2
Коммит
3eb7244d66
|
@ -726,11 +726,9 @@ nsAppShellService::JustCreateTopWindow(nsIXULWindow *aParent,
|
|||
else {
|
||||
nsWidgetInitData widgetInitData;
|
||||
|
||||
#if TARGET_CARBON
|
||||
if (aIsHiddenWindow)
|
||||
widgetInitData.mWindowType = eWindowType_invisible;
|
||||
else
|
||||
#endif
|
||||
widgetInitData.mWindowType = aChromeMask & nsIWebBrowserChrome::CHROME_OPENAS_DIALOG ?
|
||||
eWindowType_dialog : eWindowType_toplevel;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче