Index: Source/core/html/canvas/WebGLDebugShaders.cpp |
diff --git a/Source/core/html/canvas/WebGLDebugShaders.cpp b/Source/core/html/canvas/WebGLDebugShaders.cpp |
index b8f9319c75086afbda31e73066b1bb5b765447c9..2b4a0aa503706596d065e6f9080f5022ef0fe609 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->ensureNotNull(m_context->webGraphicsContext3D()->getTranslatedShaderSourceANGLE(shader->object())); |
+ return m_context->ensureNotNull(m_context->webContext()->getTranslatedShaderSourceANGLE(shader->object())); |
} |
bool WebGLDebugShaders::supported(WebGLRenderingContextBase* context) |