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

Unified Diff: chrome/browser/chromeos/ui/accessibility_focus_ring_controller.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: and another rebase 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/chromeos/ui/accessibility_focus_ring_controller.cc
diff --git a/chrome/browser/chromeos/ui/accessibility_focus_ring_controller.cc b/chrome/browser/chromeos/ui/accessibility_focus_ring_controller.cc
index 12eab3887c8f20d3956d430cbf5ad3aab6015a54..c34aa443b02817a042bfc882b85c10efe36ac687 100644
--- a/chrome/browser/chromeos/ui/accessibility_focus_ring_controller.cc
+++ b/chrome/browser/chromeos/ui/accessibility_focus_ring_controller.cc
@@ -73,8 +73,7 @@ void AccessibilityFocusRingController::Update() {
}
gfx::Rect bounds = rings_[0].GetBounds();
- gfx::Display display =
- gfx::Screen::GetNativeScreen()->GetDisplayMatching(bounds);
+ gfx::Display display = gfx::Screen::GetScreen()->GetDisplayMatching(bounds);
aura::Window* root_window = ash::Shell::GetInstance()
->window_tree_host_manager()
->GetRootWindowForDisplayId(display.id());

Powered by Google App Engine
This is Rietveld 408576698