Index: webkit/gpu/webgraphicscontext3d_in_process_impl.cc |
=================================================================== |
--- webkit/gpu/webgraphicscontext3d_in_process_impl.cc (revision 98420) |
+++ webkit/gpu/webgraphicscontext3d_in_process_impl.cc (working copy) |
@@ -107,7 +107,6 @@ |
bool render_directly_to_web_view) { |
if (!gfx::GLSurface::InitializeOneOff()) |
return false; |
- gfx::BindSkiaToInProcessGL(); |
render_directly_to_web_view_ = render_directly_to_web_view; |
gfx::GLShareGroup* share_group = 0; |
@@ -1552,6 +1551,12 @@ |
return GL_NO_ERROR; |
} |
+#if WEBKIT_USING_SKIA |
+GrGLInterface* WebGraphicsContext3DInProcessImpl::grGLInterface() { |
+ return gfx::GetInProcessSkiaGLBinding(); |
+} |
+#endif |
+ |
bool WebGraphicsContext3DInProcessImpl::AngleCreateCompilers() { |
if (!ShInitialize()) |
return false; |