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

Unified Diff: ui/gfx/ozone/dri/hardware_display_controller.cc

Issue 208553004: ozone: dri: Do initial cursor set (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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/gfx/ozone/dri/hardware_display_controller.cc
diff --git a/ui/gfx/ozone/dri/hardware_display_controller.cc b/ui/gfx/ozone/dri/hardware_display_controller.cc
index e08cecf44c549bfbc23dfe4b6f3ff8a2b0b0d22d..191a5b3172dcbc385eca9b62bc61d6a162ba65ac 100644
--- a/ui/gfx/ozone/dri/hardware_display_controller.cc
+++ b/ui/gfx/ozone/dri/hardware_display_controller.cc
@@ -136,7 +136,7 @@ void HardwareDisplayController::OnPageFlipEvent(unsigned int frame,
bool HardwareDisplayController::SetCursor(const DriSurface& surface) {
CHECK(state_ != UNASSOCIATED);
return drm_->SetCursor(crtc_id_,
- surface.GetHandle(),
+ surface.GetFrontBufferHandle(),
surface.size().width(),
surface.size().height());
}

Powered by Google App Engine
This is Rietveld 408576698