| Index: content/browser/renderer_host/input/input_router_config_helper.cc
|
| diff --git a/content/browser/renderer_host/input/input_router_config_helper.cc b/content/browser/renderer_host/input/input_router_config_helper.cc
|
| index 7c95b7928ce48a8649e42dc05f4b2731b4f1b257..31b17cfab70fddbefbc9285cca2d3eb342d1183d 100644
|
| --- a/content/browser/renderer_host/input/input_router_config_helper.cc
|
| +++ b/content/browser/renderer_host/input/input_router_config_helper.cc
|
| @@ -10,6 +10,7 @@
|
|
|
| #if defined(USE_AURA)
|
| #include "ui/events/gestures/gesture_configuration.h"
|
| +#include "ui/events/gestures/unified_gesture_detector_enabled.h"
|
| #elif defined(OS_ANDROID)
|
| #include "ui/gfx/android/view_configuration.h"
|
| #include "ui/gfx/screen.h"
|
| @@ -52,8 +53,9 @@ TouchEventQueue::Config GetTouchEventQueueConfig() {
|
|
|
| config.touchmove_slop_suppression_length_dips =
|
| ui::GestureConfiguration::max_touch_move_in_pixels_for_click();
|
| - // TODO(jdduke): Remove when unified GR enabled, crbug.com/332418.
|
| - config.touchmove_slop_suppression_region_includes_boundary = false;
|
| +
|
| + config.touchmove_slop_suppression_region_includes_boundary =
|
| + ui::IsUnifiedGestureDetectorEnabled();
|
|
|
| return config;
|
| }
|
|
|