| Index: third_party/WebKit/LayoutTests/fast/hidpi/static/gesture-scroll-amount.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/hidpi/static/gesture-scroll-amount.html b/third_party/WebKit/LayoutTests/fast/hidpi/static/gesture-scroll-amount.html
|
| index 80c1fc725f87f048165c80f0587a3e12382bd1f7..a0b13b6e8ef28f559d56e43a83ee64b71256c22e 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/hidpi/static/gesture-scroll-amount.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/hidpi/static/gesture-scroll-amount.html
|
| @@ -12,8 +12,6 @@ var expectedScrollsTotal = 2;
|
| var scrollsOccurred = 0;
|
| var scrollAmountX = ['1', '3'];
|
| var scrollAmountY = ['1', '3'];
|
| -/* TODO(oshima): Move the scaling to eventSender */
|
| -var dpr = window.devicePixelRatio;
|
|
|
| function checkScrollOffset()
|
| {
|
| @@ -38,7 +36,7 @@ function firstGestureScrollSequence()
|
| debug("first gesture");
|
|
|
| eventSender.gestureScrollBegin(50, 50);
|
| - eventSender.gestureScrollUpdate(-dpr, -dpr);
|
| + eventSender.gestureScrollUpdate(-1, -1);
|
| eventSender.gestureScrollEnd(0, 0);
|
|
|
| // Wait for layout.
|
| @@ -50,7 +48,7 @@ function secondGestureScrollSequence()
|
| debug("second gesture");
|
|
|
| eventSender.gestureScrollBegin(50, 50);
|
| - eventSender.gestureScrollUpdate(-2 * dpr, -2 * dpr);
|
| + eventSender.gestureScrollUpdate(-2, -2);
|
| eventSender.gestureScrollEnd(0, 0);
|
|
|
| // Wait for layout.
|
|
|