Index: Source/core/frame/RootFrameViewport.cpp |
diff --git a/Source/core/frame/RootFrameViewport.cpp b/Source/core/frame/RootFrameViewport.cpp |
index e2dea23147c9d10a6b7a77eb7369492215801485..f12e63f836f4acc000e5c4a6e87f358b3d6256fa 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(ScrollDirectionPhysical direction, ScrollGranularity granularity, float delta) |
+ScrollResultOneDimensional RootFrameViewport::scroll(ScrollDirectionPhysical direction, ScrollGranularity granularity, float delta) |
{ |
updateScrollAnimator(); |
@@ -296,7 +296,7 @@ bool RootFrameViewport::scroll(ScrollDirectionPhysical direction, ScrollGranular |
if (layoutViewport().userInputScrollable(orientation)) |
return layoutViewport().scroll(direction, granularity, delta); |
- return false; |
+ return ScrollResultOneDimensional(false); |
} |
} // namespace blink |