Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1214)

Unified Diff: media/gpu/vaapi_wrapper.h

Issue 2768343002: Change namespace from ui to gfx for NativePixmap related code (Closed)
Patch Set: Addressed sadrul's remark Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/gpu/vaapi_drm_picture.cc ('k') | media/gpu/vaapi_wrapper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « media/gpu/vaapi_drm_picture.cc ('k') | media/gpu/vaapi_wrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698