| Index: ui/ozone/platform/drm/gpu/gbm_buffer.cc
|
| diff --git a/ui/ozone/platform/drm/gpu/gbm_buffer.cc b/ui/ozone/platform/drm/gpu/gbm_buffer.cc
|
| index 2e269bfebe87b6784f5c936b3b0a4c5b5553fa9d..ee5f50e5746eb1d91c03a6a318d41eee4cdceae2 100644
|
| --- a/ui/ozone/platform/drm/gpu/gbm_buffer.cc
|
| +++ b/ui/ozone/platform/drm/gpu/gbm_buffer.cc
|
| @@ -93,7 +93,7 @@ void GbmPixmap::SetProcessingCallback(
|
| scoped_refptr<NativePixmap> GbmPixmap::GetProcessedPixmap(
|
| gfx::Size target_size,
|
| gfx::BufferFormat target_format) {
|
| - return processing_callback_.Run(target_size, target_format);
|
| + return processing_callback_.Run(this, target_size, target_format);
|
| }
|
|
|
| gfx::NativePixmapHandle GbmPixmap::ExportHandle() {
|
| @@ -129,6 +129,10 @@ gfx::BufferFormat GbmPixmap::GetBufferFormat() {
|
| return GetBufferFormatFromFourCCFormat(buffer_->GetFramebufferPixelFormat());
|
| }
|
|
|
| +gfx::Size GbmPixmap::size() const {
|
| + return buffer_->GetSize();
|
| +}
|
| +
|
| bool GbmPixmap::ScheduleOverlayPlane(gfx::AcceleratedWidget widget,
|
| int plane_z_order,
|
| gfx::OverlayTransform plane_transform,
|
|
|