| Index: content/browser/renderer_host/input/touch_action_browsertest.cc
|
| diff --git a/content/browser/renderer_host/input/touch_action_browsertest.cc b/content/browser/renderer_host/input/touch_action_browsertest.cc
|
| index 986e006a14d50d489fd5b893ebf94ee3f8e42a51..af1ad92b5d42d7159b19786ca0e12ef389fe7aea 100644
|
| --- a/content/browser/renderer_host/input/touch_action_browsertest.cc
|
| +++ b/content/browser/renderer_host/input/touch_action_browsertest.cc
|
| @@ -174,7 +174,8 @@ class TouchActionBrowserTest : public ContentBrowserTest {
|
| if (scrollTop == 0)
|
| return false;
|
|
|
| - EXPECT_EQ(distance.y(), scrollTop);
|
| + // Allow for 1px rounding inaccuracies for some screen sizes.
|
| + EXPECT_NEAR(distance.y(), scrollTop, 1);
|
| return true;
|
| }
|
|
|
|
|