Index: third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp |
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp b/third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp |
index f41e8ea4226d540579760839c8304ca3fc9a4aed..d4474d19071c8de78dabd1e77132e74ab848efec 100644 |
--- a/third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp |
+++ b/third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp |
@@ -614,8 +614,6 @@ int ScrollableArea::documentStep(ScrollbarOrientation orientation) const |
float ScrollableArea::pixelStep(ScrollbarOrientation) const |
{ |
- if (HostWindow* window = hostWindow()) |
- return window->windowToViewportScalar(1); |
return 1; |
} |