Index: Source/core/frame/RootFrameViewport.cpp |
diff --git a/Source/core/frame/RootFrameViewport.cpp b/Source/core/frame/RootFrameViewport.cpp |
index 155630db1f7c824e697c5bc41e6bbdf3ba7c1512..343e2c3f57da3b59a96c8960e24e6e8c1cd4441c 100644 |
--- a/Source/core/frame/RootFrameViewport.cpp |
+++ b/Source/core/frame/RootFrameViewport.cpp |
@@ -276,7 +276,7 @@ GraphicsLayer* RootFrameViewport::layerForVerticalScrollbar() const |
return layoutViewport().layerForVerticalScrollbar(); |
} |
-bool RootFrameViewport::scroll(ScrollDirection direction, ScrollGranularity granularity, float delta) |
+ScrollResultOneDimensional RootFrameViewport::scroll(ScrollDirection direction, ScrollGranularity granularity, float delta) |
{ |
updateScrollAnimator(); |
@@ -296,7 +296,7 @@ bool RootFrameViewport::scroll(ScrollDirection direction, ScrollGranularity gran |
if (layoutViewport().userInputScrollable(orientation)) |
return layoutViewport().scroll(direction, granularity, delta); |
- return false; |
+ return ScrollResultOneDimensional(false); |
} |
} // namespace blink |