| 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 a731357dcd5184263b38e0c559e50def2689d006..32520e8c9702fa06c4ccbc308b3e413170b72899 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,13 +121,15 @@ bool GestureProviderAura::IsConsideredDoubleTap(
|
| const GestureEventData& current_tap) const {
|
| if (current_tap.time - previous_tap.time >
|
| base::TimeDelta::FromMilliseconds(
|
| - ui::GestureConfiguration::max_seconds_between_double_click() *
|
| + ui::GestureConfiguration::GetInstance()
|
| + ->max_seconds_between_double_click() *
|
| 1000)) {
|
| return false;
|
| }
|
|
|
| double 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;
|
|
|