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

Unified Diff: media/gpu/vaapi_wrapper.cc

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_wrapper.h ('k') | media/gpu/video_decode_accelerator_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/gpu/vaapi_wrapper.cc
diff --git a/media/gpu/vaapi_wrapper.cc b/media/gpu/vaapi_wrapper.cc
index 15d1f189446010e7f9b7c5043d2ac48bed5043de..21ffdabc4e8af5fad529413845d6c04f9e402edd 100644
--- a/media/gpu/vaapi_wrapper.cc
+++ b/media/gpu/vaapi_wrapper.cc
@@ -601,7 +601,7 @@ scoped_refptr<VASurface> VaapiWrapper::CreateUnownedSurface(
#if defined(USE_OZONE)
scoped_refptr<VASurface> VaapiWrapper::CreateVASurfaceForPixmap(
- const scoped_refptr<ui::NativePixmap>& pixmap) {
+ const scoped_refptr<gfx::NativePixmap>& pixmap) {
// Create a VASurface for a NativePixmap by importing the underlying dmabufs.
VASurfaceAttribExternalBuffers va_attrib_extbuf;
memset(&va_attrib_extbuf, 0, sizeof(va_attrib_extbuf));
@@ -667,8 +667,8 @@ scoped_refptr<VASurface> VaapiWrapper::CreateVASurfaceForPixmap(
}
bool VaapiWrapper::ProcessPixmap(
- const scoped_refptr<ui::NativePixmap>& source_pixmap,
- scoped_refptr<ui::NativePixmap> target_pixmap) {
+ const scoped_refptr<gfx::NativePixmap>& source_pixmap,
+ scoped_refptr<gfx::NativePixmap> target_pixmap) {
scoped_refptr<VASurface> va_surface = CreateVASurfaceForPixmap(source_pixmap);
if (!va_surface) {
LOG(ERROR) << "Failed creating VA Surface for source_pixmap";
« no previous file with comments | « media/gpu/vaapi_wrapper.h ('k') | media/gpu/video_decode_accelerator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698