Index: media/gpu/vaapi_drm_picture.cc |
diff --git a/media/gpu/vaapi_drm_picture.cc b/media/gpu/vaapi_drm_picture.cc |
index dc57dc9ab98b49267717e9f5726c7cb97d987507..4d547df6ad930ae2e3c1d7130d2d4002e2ea2195 100644 |
--- a/media/gpu/vaapi_drm_picture.cc |
+++ b/media/gpu/vaapi_drm_picture.cc |
@@ -59,10 +59,10 @@ bool VaapiDrmPicture::Initialize() { |
if (!make_context_current_cb_.Run()) |
return false; |
- gfx::ScopedTextureBinder texture_binder(GL_TEXTURE_EXTERNAL_OES, |
- texture_id_); |
- scoped_refptr<gfx::GLImageOzoneNativePixmap> image( |
- new gfx::GLImageOzoneNativePixmap(size_, GL_BGRA_EXT)); |
+ gl::ScopedTextureBinder texture_binder(GL_TEXTURE_EXTERNAL_OES, |
+ texture_id_); |
+ scoped_refptr<gl::GLImageOzoneNativePixmap> image( |
+ new gl::GLImageOzoneNativePixmap(size_, GL_BGRA_EXT)); |
if (!image->Initialize(pixmap_.get(), pixmap_->GetBufferFormat())) { |
LOG(ERROR) << "Failed to create GLImage"; |
return false; |