| 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 b03b5eabad9d61e2c88969f99f7f9bd5514a9ffe..318317a4e8d93d05f2ab23e43f7fca1b5688e585 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutView.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutView.cpp
|
| @@ -1025,4 +1025,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
|
|
|