Index: third_party/WebKit/WebCore/page/EventHandler.cpp |
=================================================================== |
--- third_party/WebKit/WebCore/page/EventHandler.cpp (revision 11154) |
+++ third_party/WebKit/WebCore/page/EventHandler.cpp (working copy) |
@@ -113,8 +113,6 @@ |
return; |
} |
float pixelsToScroll = delta > 0 ? delta : -delta; |
- if (e.granularity() == ScrollByLineWheelEvent) |
- pixelsToScroll *= cMouseWheelPixelsPerLineStep; |
if (enclosingBox->scroll(delta < 0 ? negativeDirection : positiveDirection, ScrollByPixel, pixelsToScroll)) |
e.accept(); |
} |