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

Unified Diff: ui/aura/shared/compound_event_filter.cc

Issue 11033038: Fix the issue of cursor's device scale factor when using monitors with differnt device scale factor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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: ui/aura/shared/compound_event_filter.cc
diff --git a/ui/aura/shared/compound_event_filter.cc b/ui/aura/shared/compound_event_filter.cc
index c8758f22ec5b45758481a0dda9324c3b7cfb7c71..30f043b4b9fdba51ed8563afd38fce7cb8345a05 100644
--- a/ui/aura/shared/compound_event_filter.cc
+++ b/ui/aura/shared/compound_event_filter.cc
@@ -102,8 +102,6 @@ void CompoundEventFilter::UpdateCursor(Window* target, ui::MouseEvent* event) {
}
cursor_client->SetCursor(cursor);
- cursor_client->SetDeviceScaleFactor(
- root_window->AsRootWindowHostDelegate()->GetDeviceScaleFactor());
}
}

Powered by Google App Engine
This is Rietveld 408576698