| Index: ui/events/gestures/gesture_provider_aura.cc
|
| diff --git a/ui/events/gestures/gesture_provider_aura.cc b/ui/events/gestures/gesture_provider_aura.cc
|
| index d3ef2181ddaf123827648dc5a2174e6ca04b416a..47015b270a7bf4fe4144fd47380b2c652872d23c 100644
|
| --- a/ui/events/gestures/gesture_provider_aura.cc
|
| +++ b/ui/events/gestures/gesture_provider_aura.cc
|
| @@ -7,9 +7,8 @@
|
| #include "base/auto_reset.h"
|
| #include "base/logging.h"
|
| #include "ui/events/event.h"
|
| -#include "ui/events/gesture_detection/gesture_config_helper.h"
|
| +#include "ui/events/gesture_detection/gesture_configuration.h"
|
| #include "ui/events/gesture_detection/gesture_event_data.h"
|
| -#include "ui/events/gestures/gesture_configuration.h"
|
|
|
| namespace ui {
|
|
|
| @@ -122,12 +121,14 @@ bool GestureProviderAura::IsConsideredDoubleTap(
|
| const GestureEventData& current_tap) const {
|
| if (current_tap.time - previous_tap.time >
|
| base::TimeDelta::FromMilliseconds(
|
| - ui::GestureConfiguration::max_time_between_double_click_in_ms())) {
|
| + ui::GestureConfiguration::GetInstance()
|
| + ->max_time_between_double_click_in_ms())) {
|
| return false;
|
| }
|
|
|
| float double_tap_slop_square =
|
| - GestureConfiguration::max_distance_between_taps_for_double_tap();
|
| + GestureConfiguration::GetInstance()
|
| + ->max_distance_between_taps_for_double_tap();
|
| double_tap_slop_square *= double_tap_slop_square;
|
| const float delta_x = previous_tap.x - current_tap.x;
|
| const float delta_y = previous_tap.y - current_tap.y;
|
|
|