| Index: content/common/gpu/media/vaapi_drm_picture.cc
|
| diff --git a/content/common/gpu/media/vaapi_drm_picture.cc b/content/common/gpu/media/vaapi_drm_picture.cc
|
| index 924473822eae709faf291fdeebfda92a334bfe4d..e56e181310b522babe16350916dff19df00ec893 100644
|
| --- a/content/common/gpu/media/vaapi_drm_picture.cc
|
| +++ b/content/common/gpu/media/vaapi_drm_picture.cc
|
| @@ -96,8 +96,8 @@ scoped_refptr<ui::NativePixmap> VaapiDrmPicture::CreateNativePixmap(
|
|
|
| // Create a buffer from Ozone.
|
| return factory->CreateNativePixmap(gfx::kNullAcceleratedWidget, size,
|
| - ui::SurfaceFactoryOzone::BGRA_8888,
|
| - ui::SurfaceFactoryOzone::SCANOUT);
|
| + ui::PIXMAP_FORMAT_BGRA_8888,
|
| + ui::PIXMAP_USAGE_SCANOUT);
|
| }
|
|
|
| bool VaapiDrmPicture::Initialize() {
|
|
|