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

Unified Diff: ui/ozone/platform/dri/dri_window.cc

Issue 922843002: Fix software mirror mode on Ozone part 2/2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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/ozone/platform/dri/dri_window.cc
diff --git a/ui/ozone/platform/dri/dri_window.cc b/ui/ozone/platform/dri/dri_window.cc
index a5cee6b20e4d588987f88ee60b3b596edf119995..c26e62b452218a69ae97a1b1a5f954d082110fe6 100644
--- a/ui/ozone/platform/dri/dri_window.cc
+++ b/ui/ozone/platform/dri/dri_window.cc
@@ -126,7 +126,7 @@ bool DriWindow::CanDispatchEvent(const PlatformEvent& ne) {
// touchscreen has a bezel, touches in the bezel have a location outside of
// |bounds_|.
int64_t display_id =
- DeviceDataManager::GetInstance()->GetDisplayForTouchDevice(
+ DeviceDataManager::GetInstance()->GetDestinationDisplayForTouchDevice(
event->source_device_id());
if (display_id == gfx::Display::kInvalidDisplayID)
« ui/events/devices/device_data_manager.cc ('K') | « ui/events/devices/device_data_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698