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

Unified Diff: ui/aura/root_window.cc

Issue 10540123: Rename gfx::Screen::GetMonitorXXXX to gfx::Screen::GetDisplayXXX. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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
« no previous file with comments | « ui/aura/monitor_manager.cc ('k') | ui/aura/root_window_host_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/root_window.cc
diff --git a/ui/aura/root_window.cc b/ui/aura/root_window.cc
index d3c99d77884af1eb6a6092ecacb41d60544ea4ae..864f735947b6cebff76e2072e805757f47e0baa3 100644
--- a/ui/aura/root_window.cc
+++ b/ui/aura/root_window.cc
@@ -79,7 +79,7 @@ void GetEventFiltersToNotify(Window* target, EventFilters* filters) {
float GetDeviceScaleFactorFromMonitor(const aura::Window* window) {
MonitorManager* monitor_manager = Env::GetInstance()->monitor_manager();
- return monitor_manager->GetMonitorNearestWindow(window).device_scale_factor();
+ return monitor_manager->GetDisplayNearestWindow(window).device_scale_factor();
}
Window* ConsumerToWindow(ui::GestureConsumer* consumer) {
« no previous file with comments | « ui/aura/monitor_manager.cc ('k') | ui/aura/root_window_host_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698