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 c193f6f70d90739c232a638822fd7c97279cdad5..3a48063c7a008ee7aa46eb68f178d88a4903ed37 100644 |
--- a/content/common/gpu/image_transport_surface_mac.mm |
+++ b/content/common/gpu/image_transport_surface_mac.mm |
@@ -18,7 +18,8 @@ namespace { |
class DRTSurfaceOSMesa : public gfx::GLSurfaceOSMesa { |
public: |
// Size doesn't matter, the surface is resized to the right size later. |
- DRTSurfaceOSMesa() : GLSurfaceOSMesa(GL_RGBA, gfx::Size(1, 1)) {} |
+ DRTSurfaceOSMesa() |
+ : GLSurfaceOSMesa(gfx::OSMesaSurfaceFormatRGBA, gfx::Size(1, 1)) {} |
// Implement a subset of GLSurface. |
virtual bool SwapBuffers() OVERRIDE; |