Index: ui/gl/gl_image_io_surface.h |
diff --git a/ui/gl/gl_image_io_surface.h b/ui/gl/gl_image_io_surface.h |
index 28a1e19b80e96579ebce5a58bc20bd3b082996ed..12fd7b57fd1034085b78f398bea646313c512db6 100644 |
--- a/ui/gl/gl_image_io_surface.h |
+++ b/ui/gl/gl_image_io_surface.h |
@@ -24,7 +24,7 @@ class GL_EXPORT GLImageIOSurface : public GLImage { |
public: |
GLImageIOSurface(const gfx::Size& size, unsigned internalformat); |
- bool Initialize(IOSurfaceRef io_surface, GpuMemoryBuffer::Format format); |
+ bool Initialize(IOSurfaceRef io_surface, BufferFormat format); |
// Overridden from GLImage: |
void Destroy(bool have_context) override; |
@@ -54,7 +54,7 @@ class GL_EXPORT GLImageIOSurface : public GLImage { |
private: |
const gfx::Size size_; |
const unsigned internalformat_; |
- GpuMemoryBuffer::Format format_; |
+ BufferFormat format_; |
base::ScopedCFTypeRef<IOSurfaceRef> io_surface_; |
base::ThreadChecker thread_checker_; |