Bug 298072 - XUL window with "hidechrome" draws incorrectly until it is resized - patch by Anand Aiyer <aaiyer@asvcyber.com> - r+sr=roc, a=me

This commit is contained in:
bsmedberg%covad.net 2005-08-08 14:07:55 +00:00
parent f9886ab357
commit d6b10ccd90

View File

@ -951,6 +951,7 @@ void nsXULWindow::OnChromeLoaded()
mChromeLoaded = PR_TRUE;
ApplyChromeFlags();
LoadChromeHidingFromXUL();
LoadWindowClassFromXUL();
LoadIconFromXUL();
LoadSizeFromXUL();
@ -977,7 +978,6 @@ void nsXULWindow::OnChromeLoaded()
LoadMiscPersistentAttributesFromXUL();
//LoadContentAreas();
LoadChromeHidingFromXUL();
if (mCenterAfterLoad && !positionSet)
Center(parentWindow, parentWindow ? PR_FALSE : PR_TRUE, PR_FALSE);