| Index: sky/engine/platform/scroll/ScrollAnimator.cpp
|
| diff --git a/sky/engine/platform/scroll/ScrollAnimator.cpp b/sky/engine/platform/scroll/ScrollAnimator.cpp
|
| index e20df3d3ccf056cd5b7595b86819f53f0bebf079..c31bf77fdf11eb4c86ae36129c2c588a0df8a694 100644
|
| --- a/sky/engine/platform/scroll/ScrollAnimator.cpp
|
| +++ b/sky/engine/platform/scroll/ScrollAnimator.cpp
|
| @@ -86,11 +86,7 @@ bool ScrollAnimator::handleWheelEvent(const PlatformWheelEvent& e)
|
|
|
| bool handled = false;
|
|
|
| -#if !OS(MACOSX)
|
| ScrollGranularity granularity = e.hasPreciseScrollingDeltas() ? ScrollByPrecisePixel : ScrollByPixel;
|
| -#else
|
| - ScrollGranularity granularity = ScrollByPixel;
|
| -#endif
|
|
|
| IntSize maxForwardScrollDelta = m_scrollableArea->maximumScrollPosition() - m_scrollableArea->scrollPosition();
|
| IntSize maxBackwardScrollDelta = m_scrollableArea->scrollPosition() - m_scrollableArea->minimumScrollPosition();
|
|
|