Index: webkit/common/gpu/grcontext_for_webgraphicscontext3d.cc |
diff --git a/webkit/common/gpu/grcontext_for_webgraphicscontext3d.cc b/webkit/common/gpu/grcontext_for_webgraphicscontext3d.cc |
index 61f605cef8b9ce44d699e8a67b9adda6cb27ceeb..947a515aaffef9d4ad6314f4e184cdfdc4572eb8 100644 |
--- a/webkit/common/gpu/grcontext_for_webgraphicscontext3d.cc |
+++ b/webkit/common/gpu/grcontext_for_webgraphicscontext3d.cc |
@@ -14,10 +14,8 @@ namespace gpu { |
static void BindWebGraphicsContext3DGLContextCallback( |
const GrGLInterface* interface) { |
-#if GR_GL_PER_GL_FUNC_CALLBACK |
reinterpret_cast<blink::WebGraphicsContext3D*>( |
interface->fCallbackData)->makeContextCurrent(); |
-#endif |
} |
GrContextForWebGraphicsContext3D::GrContextForWebGraphicsContext3D( |
@@ -30,11 +28,9 @@ GrContextForWebGraphicsContext3D::GrContextForWebGraphicsContext3D( |
if (!interface) |
return; |
-#if GR_GL_PER_GL_FUNC_CALLBACK |
interface->fCallback = BindWebGraphicsContext3DGLContextCallback; |
interface->fCallbackData = |
reinterpret_cast<GrGLInterfaceCallbackData>(context3d); |
-#endif |
gr_context_ = skia::AdoptRef(GrContext::Create( |
kOpenGL_GrBackend, |