Index: content/common/gpu/image_transport_surface_mac.mm |
diff --git a/content/common/gpu/image_transport_surface_mac.mm b/content/common/gpu/image_transport_surface_mac.mm |
index 9bffc3b28a373f9e3532e78e2b8c1b861f33a521..330d134cac4fee4b2d65eadca440e52d960fb31e 100644 |
--- a/content/common/gpu/image_transport_surface_mac.mm |
+++ b/content/common/gpu/image_transport_surface_mac.mm |
@@ -26,7 +26,7 @@ class DRTSurfaceOSMesa : public gfx::GLSurfaceOSMesa { |
public: |
// Size doesn't matter, the surface is resized to the right size later. |
DRTSurfaceOSMesa() |
- : GLSurfaceOSMesa(gfx::OSMesaSurfaceFormatRGBA, gfx::Size(1, 1)) {} |
+ : GLSurfaceOSMesa(gfx::GLSurface::SURFACE_OSMESA_RGBA, gfx::Size(1, 1)) {} |
// Implement a subset of GLSurface. |
gfx::SwapResult SwapBuffers() override; |