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

Unified Diff: ui/ozone/platform/drm/gpu/drm_thread.cc

Issue 2088533002: Refactor ozone drm cursor code for mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: ui/ozone/platform/drm/gpu/drm_thread.cc
diff --git a/ui/ozone/platform/drm/gpu/drm_thread.cc b/ui/ozone/platform/drm/gpu/drm_thread.cc
index 6e173b553f2bc8c12608a96f1fb746d898314cdd..995373eb6ba6ae3840eb22c36b1a83c441b2b58e 100644
--- a/ui/ozone/platform/drm/gpu/drm_thread.cc
+++ b/ui/ozone/platform/drm/gpu/drm_thread.cc
@@ -175,7 +175,7 @@ void DrmThread::SetCursor(gfx::AcceleratedWidget widget,
->SetCursor(bitmaps, location, frame_delay_ms);
}
-void DrmThread::MoveCursor(gfx::AcceleratedWidget widget,
+void DrmThread::MoveCursor(const gfx::AcceleratedWidget& widget,
dnicoara 2016/06/21 14:14:16 Same here.
rjkroege 2016/06/21 17:20:52 same comment.
const gfx::Point& location) {
screen_manager_->GetWindow(widget)->MoveCursor(location);
}

Powered by Google App Engine
This is Rietveld 408576698