Chromium Code Reviews| Index: third_party/WebKit/WebCore/dom/Node.cpp |
| =================================================================== |
| --- third_party/WebKit/WebCore/dom/Node.cpp (revision 11154) |
| +++ third_party/WebKit/WebCore/dom/Node.cpp (working copy) |
| @@ -2707,6 +2707,7 @@ |
| IntPoint pos = view->windowToContents(e.pos()); |
| // Convert the deltas from pixels to lines if we have a pixel scroll event. |
| + const float cMouseWheelPixelsPerLineStep = 40.0f / 3.0f; |
| float deltaX = e.deltaX(); |
| float deltaY = e.deltaY(); |