Index: ash/shelf/shelf_layout_manager_unittest.cc |
diff --git a/ash/shelf/shelf_layout_manager_unittest.cc b/ash/shelf/shelf_layout_manager_unittest.cc |
index 7091afbc0a66c39b451906cba19ed8586bd0afa3..24c121dcb1bf099f38cd4e3c45771e1b6ecb79cf 100644 |
--- a/ash/shelf/shelf_layout_manager_unittest.cc |
+++ b/ash/shelf/shelf_layout_manager_unittest.cc |
@@ -32,7 +32,7 @@ |
#include "ui/compositor/layer.h" |
#include "ui/compositor/layer_animator.h" |
#include "ui/compositor/scoped_animation_duration_scale_mode.h" |
-#include "ui/events/gestures/gesture_configuration.h" |
+#include "ui/events/gesture_detection/gesture_configuration.h" |
#include "ui/events/test/event_generator.h" |
#include "ui/gfx/display.h" |
#include "ui/gfx/screen.h" |
@@ -1586,7 +1586,8 @@ TEST_F(ShelfLayoutManagerTest, GestureEdgeSwipe) { |
TEST_F(ShelfLayoutManagerTest, MAYBE_GestureDrag) { |
// Slop is an implementation detail of gesture recognition, and complicates |
// these tests. Ignore it. |
- ui::GestureConfiguration::set_max_touch_move_in_pixels_for_click(0); |
+ ui::GestureConfiguration::GetInstance() |
+ ->set_max_touch_move_in_pixels_for_click(0); |
ShelfLayoutManager* shelf = GetShelfLayoutManager(); |
{ |
SCOPED_TRACE("BOTTOM"); |