Closed Bug 781869 Opened 10 years ago Closed 10 years ago
HTMLScroll Frame::Reflow Scrolled Frame() redundantly passes NS _FRAME _NO _MOVE _VIEW with NS _FRAME _NO _MOVE _FRAME (which already includes the _VIEW bit)
nsHTMLScrollFrame::ReflowScrolledFrame() has two places where it passes: NS_FRAME_NO_MOVE_FRAME | NS_FRAME_NO_MOVE_VIEW The _VIEW bit there is redundant, because NS_FRAME_NO_MOVE_FRAME is defined to already include it: > 19 #define NS_FRAME_NO_MOVE_FRAME (0x0002 | NS_FRAME_NO_MOVE_VIEW) http://mxr.mozilla.org/mozilla-central/source/layout/generic/nsContainerFrame.h#19 So, I think we can just drop the "| NS_FRAME_NO_MOVE_VIEW" in these instances.
Assignee: nobody → dholbert
Status: NEW → ASSIGNED
Attachment #651006 - Flags: review?(dbaron)
Comment on attachment 651006 [details] [diff] [review] fix r=dbaron
Attachment #651006 - Flags: review?(dbaron) → review+
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla17
You need to log in before you can comment on or make changes to this bug.