Index: ui/gl/gl_surface_ozone.cc |
diff --git a/ui/gl/gl_surface_ozone.cc b/ui/gl/gl_surface_ozone.cc |
index 0e3f8b981e078f8bddba3e7032d936fc1a01e832..0383180d32499005c195523b420211e2a77c79b0 100644 |
--- a/ui/gl/gl_surface_ozone.cc |
+++ b/ui/gl/gl_surface_ozone.cc |
@@ -572,7 +572,7 @@ bool GLSurfaceOzoneSurfacelessSurfaceImpl::CreatePixmaps() { |
return false; |
scoped_refptr<GLImageOzoneNativePixmap> image = |
new GLImageOzoneNativePixmap(GetSize(), GL_BGRA_EXT); |
- if (!image->Initialize(pixmap.get(), gfx::BufferFormat::BGRA_8888)) |
+ if (!image->Initialize(pixmap.get())) |
return false; |
images_[i] = image; |
// Bind image to texture. |