[Webkit-unassigned] [Bug 71236] refactor Scrollable::m_scrollOrigin from protected to private

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 31 15:56:40 PDT 2011


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





--- Comment #3 from Darin Adler <darin at apple.com>  2011-10-31 15:56:40 PST ---
(From update of attachment 113095)
View in context: https://bugs.webkit.org/attachment.cgi?id=113095&action=review

> Source/WebCore/platform/ScrollableArea.cpp:69
> +    if (m_scrollOrigin != origin)
> +        m_scrollOrigin = origin;

The if statement adds no value.

> Source/WebCore/platform/ScrollableArea.cpp:75
> +    if (m_scrollOrigin.x() != x)
> +        m_scrollOrigin.setX(x);

The if statement adds no value.

> Source/WebCore/platform/ScrollableArea.cpp:81
> +    if (m_scrollOrigin.y() != y)
> +        m_scrollOrigin.setY(y);

The if statement adds no value.

-- 
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