Skip to content
  • darin@apple.com's avatar
    2010-04-28 Darin Adler <darin@apple.com> · f1052663
    darin@apple.com authored
            Reviewed by Dan Bernstein.
    
            Remove some obsolete scrolling code
            https://bugs.webkit.org/show_bug.cgi?id=38293
    
            * page/Chrome.cpp:
            (WebCore::Chrome::scrollRectIntoView): Removed ScrollView* argument.
            * page/Chrome.h: Made scrollRectIntoView non-virtual, and removed ScrollView* argument.
    
            * page/FrameView.cpp: Removed scrollRectIntoViewRecursively.
            * page/FrameView.h: Removed scrollRectIntoViewRecursively and made
            setScrollPosition non-virtual, since there is no class derived from
            this class, and ScrollView's setScrollPosition is non-virtual.
    
            * platform/HostWindow.h: Removed scrollRectIntoView.
    
            * platform/ScrollView.cpp:
            (WebCore::ScrollView::scrollRectIntoViewRecursively): Updated comment
            since I was able to do most of the tasks listed here.
    
            * rendering/RenderLayer.cpp:
            (WebCore::RenderLayer::scrollRectToVisible): Removed 0 passed for
            ScrollView* argument to Chrome::scrollRectIntoView.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58445 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    f1052663