| Index: Source/core/html/canvas/WebGLTexture.cpp
|
| diff --git a/Source/core/html/canvas/WebGLTexture.cpp b/Source/core/html/canvas/WebGLTexture.cpp
|
| index 1cf21aa82a86493a8b894dfeffbb277e46063dc7..292974230ea6f5744821e6c55e2dc18bb7dd5691 100644
|
| --- a/Source/core/html/canvas/WebGLTexture.cpp
|
| +++ b/Source/core/html/canvas/WebGLTexture.cpp
|
| @@ -51,7 +51,7 @@ WebGLTexture::WebGLTexture(WebGLRenderingContextBase* ctx)
|
| , m_isHalfFloatType(false)
|
| {
|
| ScriptWrappable::init(this);
|
| - setObject(ctx->webGraphicsContext3D()->createTexture());
|
| + setObject(ctx->webContext()->createTexture());
|
| }
|
|
|
| WebGLTexture::~WebGLTexture()
|
|
|