Index: ui/gl/gl_surface_ozone.cc |
diff --git a/ui/gl/gl_surface_ozone.cc b/ui/gl/gl_surface_ozone.cc |
index a0167510f6fb78a98c46334e02ec8448a2fbcffd..38625566f0b0d3eec7eabce8d08fe2e8b3432b33 100644 |
--- a/ui/gl/gl_surface_ozone.cc |
+++ b/ui/gl/gl_surface_ozone.cc |
@@ -542,14 +542,13 @@ bool GLSurfaceOzoneSurfacelessSurfaceImpl::CreatePixmaps() { |
ui::OzonePlatform::GetInstance() |
->GetSurfaceFactoryOzone() |
->CreateNativePixmap(widget_, GetSize(), |
- ui::SurfaceFactoryOzone::BGRA_8888, |
- ui::SurfaceFactoryOzone::SCANOUT); |
+ gfx::BufferFormat::BGRA_8888, |
+ gfx::BufferUsage::SCANOUT); |
if (!pixmap) |
return false; |
scoped_refptr<GLImageOzoneNativePixmap> image = |
new GLImageOzoneNativePixmap(GetSize(), GL_BGRA_EXT); |
- if (!image->Initialize(pixmap.get(), |
- gfx::GpuMemoryBuffer::Format::BGRA_8888)) |
+ if (!image->Initialize(pixmap.get(), gfx::BufferFormat::BGRA_8888)) |
return false; |
images_[i] = image; |
// Bind image to texture. |