Index: Source/core/frame/RootFrameViewport.h |
diff --git a/Source/core/frame/RootFrameViewport.h b/Source/core/frame/RootFrameViewport.h |
index 55cbc179ffaf2003f279d3611084b399cd47478a..3ff6ec3da3438b01f3d4e9b331e248e13dfaf24d 100644 |
--- a/Source/core/frame/RootFrameViewport.h |
+++ b/Source/core/frame/RootFrameViewport.h |
@@ -59,7 +59,7 @@ public: |
GraphicsLayer* layerForScrolling() const override; |
GraphicsLayer* layerForHorizontalScrollbar() const override; |
GraphicsLayer* layerForVerticalScrollbar() const override; |
- bool scroll(ScrollDirectionPhysical, ScrollGranularity, float delta = 1) override; |
+ ScrollResultOneDimensional scroll(ScrollDirectionPhysical, ScrollGranularity, float delta = 1) override; |
// TODO(bokan): This method should be removed. It should be replaced by |
// making EventHandler::handleWheelEvent unpack the WheelEvent and make a |
// call to this class' scroll method. |