mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Removed some code that is no longer needed
This commit is contained in:
parent
6247024d47
commit
5d77d78450
@ -243,10 +243,6 @@ RootFrame::Reflow(nsIPresContext& aPresContext,
|
|||||||
// Reflow the frame
|
// Reflow the frame
|
||||||
nsIHTMLReflow* htmlReflow;
|
nsIHTMLReflow* htmlReflow;
|
||||||
if (NS_OK == kidFrame->QueryInterface(kIHTMLReflowIID, (void**)&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,
|
ReflowChild(kidFrame, aPresContext, kidDesiredSize, kidReflowState,
|
||||||
aStatus);
|
aStatus);
|
||||||
|
|
||||||
|
@ -243,10 +243,6 @@ RootFrame::Reflow(nsIPresContext& aPresContext,
|
|||||||
// Reflow the frame
|
// Reflow the frame
|
||||||
nsIHTMLReflow* htmlReflow;
|
nsIHTMLReflow* htmlReflow;
|
||||||
if (NS_OK == kidFrame->QueryInterface(kIHTMLReflowIID, (void**)&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,
|
ReflowChild(kidFrame, aPresContext, kidDesiredSize, kidReflowState,
|
||||||
aStatus);
|
aStatus);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user