Bug 473390 part 6. Move the flag-setting for file controls out of the frame constructor and into the frame implementation. r+sr=roc

This commit is contained in:
Boris Zbarsky
2009-01-19 13:31:32 -05:00
parent cd76e3492e
commit fc9b27e112
2 changed files with 2 additions and 9 deletions

View File

@@ -92,6 +92,7 @@ nsFileControlFrame::nsFileControlFrame(nsStyleContext* aContext):
mTextFrame(nsnull),
mCachedState(nsnull)
{
AddStateBits(NS_BLOCK_FLOAT_MGR);
}
nsFileControlFrame::~nsFileControlFrame()