Chromium Code Reviews| Index: trunk/Source/core/html/canvas/WebGLTexture.cpp |
| =================================================================== |
| --- trunk/Source/core/html/canvas/WebGLTexture.cpp (revision 168480) |
| +++ trunk/Source/core/html/canvas/WebGLTexture.cpp (working copy) |
| @@ -51,7 +51,7 @@ |
| , m_isHalfFloatType(false) |
| { |
| ScriptWrappable::init(this); |
| - setObject(ctx->webContext()->createTexture()); |
| + setObject(ctx->webGraphicsContext3D()->createTexture()); |
| } |
| WebGLTexture::~WebGLTexture() |