Chromium Code Reviews| Index: trunk/Source/core/html/canvas/WebGLShader.cpp |
| =================================================================== |
| --- trunk/Source/core/html/canvas/WebGLShader.cpp (revision 168480) |
| +++ trunk/Source/core/html/canvas/WebGLShader.cpp (working copy) |
| @@ -42,7 +42,7 @@ |
| , m_source("") |
| { |
| ScriptWrappable::init(this); |
| - setObject(ctx->webContext()->createShader(type)); |
| + setObject(ctx->webGraphicsContext3D()->createShader(type)); |
| } |
| WebGLShader::~WebGLShader() |