mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
ifdef'ing out a badly formed optimization for incremental reflow.
r=buster b=24798
This commit is contained in:
parent
1a371ab14b
commit
0d70f918f6
@ -324,10 +324,12 @@ nsListControlFrame::Reflow(nsIPresContext* aPresContext,
|
||||
if (content) {
|
||||
ScrollToFrame(content);
|
||||
}
|
||||
#if 0
|
||||
} else {
|
||||
nsresult rv = nsScrollFrame::Reflow(aPresContext, aDesiredSize, aReflowState, aStatus);
|
||||
aStatus = NS_FRAME_COMPLETE;
|
||||
return rv;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -324,10 +324,12 @@ nsListControlFrame::Reflow(nsIPresContext* aPresContext,
|
||||
if (content) {
|
||||
ScrollToFrame(content);
|
||||
}
|
||||
#if 0
|
||||
} else {
|
||||
nsresult rv = nsScrollFrame::Reflow(aPresContext, aDesiredSize, aReflowState, aStatus);
|
||||
aStatus = NS_FRAME_COMPLETE;
|
||||
return rv;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user