mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
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:
parent
f9886ab357
commit
d6b10ccd90
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user