| Index: webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc
|
| ===================================================================
|
| --- webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc (revision 98420)
|
| +++ webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc (working copy)
|
| @@ -590,7 +590,6 @@
|
| WebGraphicsContext3D::Attributes attributes,
|
| WebKit::WebView* web_view,
|
| bool render_directly_to_web_view) {
|
| - webkit_glue::BindSkiaToCommandBufferGL();
|
|
|
| // Convert WebGL context creation attributes into GLInProcessContext / EGL
|
| // size requests.
|
| @@ -1582,6 +1581,13 @@
|
| return context_lost_reason_;
|
| }
|
|
|
| +#if WEBKIT_USING_SKIA
|
| +GrGLInterface* WebGraphicsContext3DInProcessCommandBufferImpl::
|
| + grGLInterface() {
|
| + return webkit_glue::GetCommandBufferSkiaGLBinding();
|
| +}
|
| +#endif
|
| +
|
| void WebGraphicsContext3DInProcessCommandBufferImpl::OnContextLost() {
|
| // TODO(kbr): improve the precision here.
|
| context_lost_reason_ = GL_UNKNOWN_CONTEXT_RESET_ARB;
|
|
|