Hi, ScrollableArea::scrollSize() and ScrollableArea::maximumScrollPosition() seem to return the same value if the parameters of the scrollbars are updated. Can we remove one of them?
I think the benefits are: - no redundancy; - ScrollableArea could be independent on scrollbars; - maximumScrollPosition() is more up-to-date without the need of updateScrollbars; - the ambiguity of the name scrollSize (e.g. RenderLayer::m_scrollSize and RenderLayer::scrollSize() are totally different things) can be eliminated What do you think? Am I missing anything? Xianzhu
_______________________________________________ webkit-dev mailing list [email protected] https://lists.webkit.org/mailman/listinfo/webkit-dev

