Index: Source/core/html/canvas/WebGLDebugShaders.cpp |
diff --git a/Source/core/html/canvas/WebGLDebugShaders.cpp b/Source/core/html/canvas/WebGLDebugShaders.cpp |
index 82d81555e6741f0a8ae9481e108e22a835d23591..3522ca07e273aef348bee1e7c68dd8bf6730b011 100644 |
--- a/Source/core/html/canvas/WebGLDebugShaders.cpp |
+++ b/Source/core/html/canvas/WebGLDebugShaders.cpp |
@@ -58,7 +58,7 @@ String WebGLDebugShaders::getTranslatedShaderSource(WebGLShader* shader) |
return String(); |
if (!m_context->validateWebGLObject("getTranslatedShaderSource", shader)) |
return ""; |
- return m_context->webGraphicsContext3D()->getTranslatedShaderSourceANGLE(shader->object()); |
+ return m_context->webContext()->getTranslatedShaderSourceANGLE(shader->object()); |
} |
bool WebGLDebugShaders::supported(WebGLRenderingContextBase* context) |