| Index: third_party/WebKit/Source/core/layout/LayoutView.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutView.cpp b/third_party/WebKit/Source/core/layout/LayoutView.cpp
|
| index 5da123b695f693d7e53dedbd6546c97f8156820b..470e3c8de77c0f87f0c5d90fddbb21909adb5e6c 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutView.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutView.cpp
|
| @@ -1022,4 +1022,12 @@ bool LayoutView::allowsOverflowClip() const
|
| return document().settings() && document().settings()->rootLayerScrolls();
|
| }
|
|
|
| +ScrollResult LayoutView::scroll(ScrollGranularity granularity, const FloatSize& delta)
|
| +{
|
| + if (!frameView())
|
| + return ScrollResult();
|
| +
|
| + return frame()->applyScrollDelta(granularity, delta, false);
|
| +}
|
| +
|
| } // namespace blink
|
|
|