Changed a SetFrameState call to not clobber the NS_FRAME_SYNC_FRAME_AND_VIEW

flag
This commit is contained in:
troy%netscape.com 1998-10-17 04:00:58 +00:00
Родитель 3c05ebb691
Коммит c1e6962039
2 изменённых файлов: 10 добавлений и 2 удалений

Просмотреть файл

@ -693,7 +693,11 @@ nsHTMLFramesetFrame::ReflowPlaceChild(nsIFrame* aChild,
// Place and size the child
nsRect rect(aOffset.x, aOffset.y, aSize.width, aSize.height);
aChild->SetFrameState(0);
// XXX We shouldn't just whack the frame set bits. Clear just the bits
// we need to clear...
#if 0
aChild->SetFrameState(NS_FRAME_SYNC_FRAME_AND_VIEW);
#endif
aChild->SetRect(rect);
htmlReflow->DidReflow(aPresContext, NS_FRAME_REFLOW_FINISHED); // XXX do we need this
}

Просмотреть файл

@ -693,7 +693,11 @@ nsHTMLFramesetFrame::ReflowPlaceChild(nsIFrame* aChild,
// Place and size the child
nsRect rect(aOffset.x, aOffset.y, aSize.width, aSize.height);
aChild->SetFrameState(0);
// XXX We shouldn't just whack the frame set bits. Clear just the bits
// we need to clear...
#if 0
aChild->SetFrameState(NS_FRAME_SYNC_FRAME_AND_VIEW);
#endif
aChild->SetRect(rect);
htmlReflow->DidReflow(aPresContext, NS_FRAME_REFLOW_FINISHED); // XXX do we need this
}