hook up new 'centerscreen' chrome flag

This commit is contained in:
danm@netscape.com
2000-04-13 20:32:30 +00:00
parent ef0d36d607
commit 3b8e77cd81
2 changed files with 5 additions and 0 deletions

View File

@@ -589,6 +589,9 @@ nsAppShellService::JustCreateTopWindow(nsIXULWindow *aParent,
#endif
}
if (aChromeMask & nsIWebBrowserChrome::centerScreen)
window->Center(nsnull, PR_TRUE, PR_FALSE);
}
return rv;