Backed out changeset c47a46c92dff (bug 860941)

This commit is contained in:
Ed Morley
2013-05-17 09:08:52 +01:00
parent 9dbc58f6e7
commit 28629b66ff
3 changed files with 1 additions and 10 deletions

View File

@@ -11452,7 +11452,7 @@ nsDocShell::EnsureScriptEnvironment()
browserChrome->GetChromeFlags(&chromeFlags);
bool isModalContentWindow = (mItemType == typeContent) &&
(chromeFlags & nsIWebBrowserChrome::CHROME_MODAL_CONTENT_WINDOW);
(chromeFlags & nsIWebBrowserChrome::CHROME_MODAL);
// There can be various other content docshells associated with the
// top-level window, like sidebars. Make sure that we only create an
// nsGlobalModalWindow for the primary content shell.