Index: ui/ozone/platform/dri/hardware_display_controller.cc |
diff --git a/ui/ozone/platform/dri/hardware_display_controller.cc b/ui/ozone/platform/dri/hardware_display_controller.cc |
index 4befd8fa80128740814f37ece9816ce97a8e59f1..cead9494f3331ac28920a63c2c33e915f260e0e2 100644 |
--- a/ui/ozone/platform/dri/hardware_display_controller.cc |
+++ b/ui/ozone/platform/dri/hardware_display_controller.cc |
@@ -258,6 +258,10 @@ bool HardwareDisplayController::IsDisabled() const { |
return is_disabled_; |
} |
+gfx::Size HardwareDisplayController::GetModeSize() const { |
+ return gfx::Size(mode_.hdisplay, mode_.vdisplay); |
+} |
+ |
bool HardwareDisplayController::ModesetCrtc( |
const scoped_refptr<ScanoutBuffer>& buffer, |
drmModeModeInfo mode, |