Chromium Code Reviews| Index: Source/platform/scroll/ScrollableArea.cpp |
| diff --git a/Source/platform/scroll/ScrollableArea.cpp b/Source/platform/scroll/ScrollableArea.cpp |
| index 60e1c05d25625e201fe7c6695625924b33d69585..2f6db26940b494fe87e6952d258f20e227a054cd 100644 |
| --- a/Source/platform/scroll/ScrollableArea.cpp |
| +++ b/Source/platform/scroll/ScrollableArea.cpp |
| @@ -301,7 +301,7 @@ ScrollResult ScrollableArea::handleWheel(const PlatformWheelEvent& wheelEvent) |
| { |
| // Wheel events which do not scroll are used to trigger zooming. |
| if (!wheelEvent.canScroll()) |
| - return ScrollResult(); |
| + return ScrollResult(false, false, wheelEvent.deltaX(), wheelEvent.deltaY()); |
|
bokan
2015/06/23 16:20:45
Doesn't this mean that a browser zoom (ctrl + whee
MuVen
2015/06/25 12:55:51
Done. True, i checked it, it wont trigger overscro
|
| cancelProgrammaticScrollAnimation(); |
| return scrollAnimator()->handleWheelEvent(wheelEvent); |