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()); |
} |