| Index: media/gpu/vaapi_wrapper.h
|
| diff --git a/media/gpu/vaapi_wrapper.h b/media/gpu/vaapi_wrapper.h
|
| index 6308f426634a072c42a65b115abe72d98ae9fad1..e3f9006846169f2aefd1f407c847422de468df94 100644
|
| --- a/media/gpu/vaapi_wrapper.h
|
| +++ b/media/gpu/vaapi_wrapper.h
|
| @@ -36,7 +36,7 @@
|
| #endif // USE_X11
|
|
|
| #if defined(USE_OZONE)
|
| -namespace ui {
|
| +namespace gfx {
|
| class NativePixmap;
|
| }
|
| #endif
|
| @@ -118,12 +118,12 @@ class MEDIA_GPU_EXPORT VaapiWrapper
|
| // transferred to the caller. It differs from surfaces created using
|
| // CreateSurfaces(), where VaapiWrapper is the owner of the surfaces.
|
| scoped_refptr<VASurface> CreateVASurfaceForPixmap(
|
| - const scoped_refptr<ui::NativePixmap>& pixmap);
|
| + const scoped_refptr<gfx::NativePixmap>& pixmap);
|
|
|
| // Use VPP to process |source_pixmap| to |target_pixmap| with scaling and
|
| // color space conversion.
|
| - bool ProcessPixmap(const scoped_refptr<ui::NativePixmap>& source_pixmap,
|
| - scoped_refptr<ui::NativePixmap> target_pixmap);
|
| + bool ProcessPixmap(const scoped_refptr<gfx::NativePixmap>& source_pixmap,
|
| + scoped_refptr<gfx::NativePixmap> target_pixmap);
|
|
|
| #endif
|
|
|
|
|