Bug 194968. Use content id properly to expose whether window is content vs. UI. r/sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@139051 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -739,7 +739,7 @@ nsAppShellService::JustCreateTopWindow(nsIXULWindow *aParent,
|
||||
if (aChromeMask & nsIWebBrowserChrome::CHROME_WINDOW_POPUP)
|
||||
widgetInitData.mWindowType = eWindowType_popup;
|
||||
|
||||
widgetInitData.mContentType = nsIDocShellTreeItem::typeChrome;
|
||||
widgetInitData.mContentType = eContentTypeUI;
|
||||
|
||||
// note default chrome overrides other OS chrome settings, but
|
||||
// not internal chrome
|
||||
|
||||
Reference in New Issue
Block a user