Chromium Code Reviews| 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) |
| +{ |
|
szager1
2016/03/02 19:14:35
I think you should probably add this at the top of
bokan
2016/03/02 20:37:13
Thanks for the heads up. This shouldn't change the
skobes
2016/03/02 23:26:30
LocalFrame::applyScrollDelta calls through FrameVi
bokan
2016/03/02 23:33:19
I think you're right. Right now, I'm just trying t
|
| + if (!frameView()) |
| + return ScrollResult(); |
| + |
| + return frame()->applyScrollDelta(granularity, delta, false); |
| +} |
| + |
| } // namespace blink |