Index: ui/events/gesture_detection/gesture_provider_config_helper.cc |
diff --git a/ui/events/gesture_detection/gesture_provider_config_helper.cc b/ui/events/gesture_detection/gesture_provider_config_helper.cc |
index 27081026df0f91d0bb3aa9094a902d0a9e92a35b..c13636687c989de824b35faec25ec476834c5486 100644 |
--- a/ui/events/gesture_detection/gesture_provider_config_helper.cc |
+++ b/ui/events/gesture_detection/gesture_provider_config_helper.cc |
@@ -90,7 +90,7 @@ GestureProvider::Config GetGestureProviderConfig( |
break; |
} |
- gfx::Screen* screen = gfx::Screen::GetScreenByType(gfx::SCREEN_TYPE_NATIVE); |
+ gfx::Screen* screen = gfx::Screen::GetScreen(); |
// |screen| is sometimes NULL during tests. |
if (screen) |
config.display = screen->GetPrimaryDisplay(); |