Index: ui/ozone/platform/drm/gpu/drm_overlay_validator.cc |
diff --git a/ui/ozone/platform/drm/gpu/drm_overlay_validator.cc b/ui/ozone/platform/drm/gpu/drm_overlay_validator.cc |
index 9fb93b9e2424181dd7b78c4f95b842ed42aff781..34c62c17e52a87f8c8c5eb6c74d877c7f5737db9 100644 |
--- a/ui/ozone/platform/drm/gpu/drm_overlay_validator.cc |
+++ b/ui/ozone/platform/drm/gpu/drm_overlay_validator.cc |
@@ -43,9 +43,8 @@ scoped_refptr<ScanoutBuffer> GetBufferForPageFlipTest( |
} |
} |
- gfx::BufferFormat buffer_format = GetBufferFormatFromFourCCFormat(format); |
scoped_refptr<ScanoutBuffer> scanout_buffer = |
- buffer_generator->Create(drm_device, buffer_format, size); |
+ buffer_generator->Create(drm_device, format, size); |
reusable_buffers->push_back(scanout_buffer); |
return scanout_buffer; |