• joelhockey's avatar
    Remove unneeded Convert* methods and move many from FrameViewBase to FrameView. · 5a589220
    joelhockey authored
    I am cleaning up the Convert methods and moving them out of FrameViewBase
    in preparation for removing Scrollbar from inheriting from FrameViewBase.
    With this change, Scrollbar no longer has any calls to FrameViewBase methods.
    
    There were Convert methods in scrollbar classes that are never called.
    * Scrollbar
     - ConvertFromContainingFrameViewBase(IntRect)
     - ConvertToContainingFrameViewBase(IntPoint)
    * ScrollableArea and PaintLayerScrollableArea
     - ConvertFromContainingFrameViewBaseToScrollbar(IntPoint)
    
    BUG=637460
    CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
    
    Review-Url: https://codereview.chromium.org/2832883003
    Cr-Commit-Position: refs/heads/master@{#466440}
    5a589220
FrameViewBase.cpp 3.95 KB