Removed some code that is no longer needed

This commit is contained in:
troy%netscape.com 1999-03-06 01:58:33 +00:00
Родитель 6247024d47
Коммит 5d77d78450
2 изменённых файлов: 0 добавлений и 8 удалений

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

@ -243,10 +243,6 @@ RootFrame::Reflow(nsIPresContext& aPresContext,
// Reflow the frame
nsIHTMLReflow* htmlReflow;
if (NS_OK == kidFrame->QueryInterface(kIHTMLReflowIID, (void**)&htmlReflow)) {
// XXX Temporary hack until the block/inline code changes. It expects
// the available width to be the space minus any margins...
kidReflowState.availableWidth -= kidReflowState.computedMargin.left +
kidReflowState.computedMargin.right;
ReflowChild(kidFrame, aPresContext, kidDesiredSize, kidReflowState,
aStatus);

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

@ -243,10 +243,6 @@ RootFrame::Reflow(nsIPresContext& aPresContext,
// Reflow the frame
nsIHTMLReflow* htmlReflow;
if (NS_OK == kidFrame->QueryInterface(kIHTMLReflowIID, (void**)&htmlReflow)) {
// XXX Temporary hack until the block/inline code changes. It expects
// the available width to be the space minus any margins...
kidReflowState.availableWidth -= kidReflowState.computedMargin.left +
kidReflowState.computedMargin.right;
ReflowChild(kidFrame, aPresContext, kidDesiredSize, kidReflowState,
aStatus);