Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2442)

Unified Diff: chrome/browser/ui/views/app_list/linux/app_list_linux.cc

Issue 1608733002: Remove ui/gfx/screen_type_delegate.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@metro-mode-4
Patch Set: GetNativeScreen Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/app_list/linux/app_list_linux.cc
diff --git a/chrome/browser/ui/views/app_list/linux/app_list_linux.cc b/chrome/browser/ui/views/app_list/linux/app_list_linux.cc
index a8ef48aa44a34a434aad8839eec3cad87339ce4e..47b25b011214f40c5a1bf9c0d574c6dfffa3b692 100644
--- a/chrome/browser/ui/views/app_list/linux/app_list_linux.cc
+++ b/chrome/browser/ui/views/app_list/linux/app_list_linux.cc
@@ -84,7 +84,7 @@ gfx::Point AppListLinux::FindAnchorPoint(const gfx::Size& view_size,
// static
void AppListLinux::MoveNearCursor(app_list::AppListView* view) {
- gfx::Point cursor = gfx::Screen::GetNativeScreen()->GetCursorScreenPoint();
+ gfx::Point cursor = gfx::Screen::GetScreen()->GetCursorScreenPoint();
gfx::Screen* screen =
gfx::Screen::GetScreenFor(view->GetWidget()->GetNativeView());
gfx::Display display = screen->GetDisplayNearestPoint(cursor);

Powered by Google App Engine
This is Rietveld 408576698