[Webkit-unassigned] [Bug 86226] New: Remove RenderLayer::m_scrollOverflow

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 11 10:22:02 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=86226

           Summary: Remove RenderLayer::m_scrollOverflow
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jchaffraix at webkit.org
                CC: simon.fraser at apple.com, jamesr at chromium.org,
                    enne at google.com


m_scrollOverflow is used in only 1 place:

IntSize scrolledContentOffset() const { return scrollOffset() + m_scrollOverflow; }

m_scrollOverflow is always set to the opposite of scrollOrigin in computeScrollDimensions() and the previous function is basically returning m_scrollOffset as RenderLayer::scrollOffset() adds scrollOrigin() to m_scrollOffset.

Let's kill this confusing variable.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list