Index: Source/core/html/canvas/WebGLShader.cpp |
diff --git a/Source/core/html/canvas/WebGLShader.cpp b/Source/core/html/canvas/WebGLShader.cpp |
index d306a818a5e7cd396fa497d6cde4ce31960bc01a..203041e85cf66c225b4cb8e2693f455b89f450e8 100644 |
--- a/Source/core/html/canvas/WebGLShader.cpp |
+++ b/Source/core/html/canvas/WebGLShader.cpp |
@@ -42,7 +42,7 @@ WebGLShader::WebGLShader(WebGLRenderingContextBase* ctx, GLenum type) |
, m_source("") |
{ |
ScriptWrappable::init(this); |
- setObject(ctx->webGraphicsContext3D()->createShader(type)); |
+ setObject(ctx->webContext()->createShader(type)); |
} |
WebGLShader::~WebGLShader() |