Skip to content
  • commit-queue@webkit.org's avatar
    [WK2] Rename from scrollOffset to scrollDelta in WebChromeClient. · c5766db4
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=109885
    
    Patch by Huang Dongsung <luxtella@company100.net> on 2013-02-14
    Reviewed by Simon Fraser.
    
    Chrome sends a scroll delta to WebChromeClient but WebChromeClient names it
    scrollOffset. So this patch corrects this misnaming.
    
    In addition, all subclasses of LayerTreeHost don't use the misnamed
    scrollOffset in scrollNonCompositedContents(), so this patch removes the
    scrollOffset argument.
    
    * WebProcess/WebCoreSupport/WebChromeClient.cpp:
    (WebKit::WebChromeClient::scroll):
    * WebProcess/WebCoreSupport/WebChromeClient.h:
    (WebChromeClient):
    * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:
    (WebKit::CoordinatedLayerTreeHost::scrollNonCompositedContents):
    * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.h:
    (CoordinatedLayerTreeHost):
    * WebProcess/WebPage/DrawingArea.h:
    (DrawingArea):
    * WebProcess/WebPage/DrawingAreaImpl.cpp:
    (WebKit::DrawingAreaImpl::scroll):
    * WebProcess/WebPage/DrawingAreaImpl.h:
    (DrawingAreaImpl):
    * WebProcess/WebPage/LayerTreeHost.h:
    (LayerTreeHost):
    * WebProcess/WebPage/gtk/LayerTreeHostGtk.cpp:
    (WebKit::LayerTreeHostGtk::scrollNonCompositedContents):
    * WebProcess/WebPage/gtk/LayerTreeHostGtk.h:
    (LayerTreeHostGtk):
    * WebProcess/WebPage/mac/LayerTreeHostMac.h:
    (LayerTreeHostMac):
    * WebProcess/WebPage/mac/LayerTreeHostMac.mm:
    (WebKit::LayerTreeHostMac::scrollNonCompositedContents):
    * WebProcess/WebPage/mac/RemoteLayerTreeDrawingArea.h:
    (RemoteLayerTreeDrawingArea):
    * WebProcess/WebPage/mac/RemoteLayerTreeDrawingArea.mm:
    (WebKit::RemoteLayerTreeDrawingArea::scroll):
    * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.h:
    (TiledCoreAnimationDrawingArea):
    * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
    (WebKit::TiledCoreAnimationDrawingArea::scroll):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142968 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    c5766db4