Chromium Code Reviews| Index: Source/core/html/canvas/WebGLTexture.cpp |
| diff --git a/Source/core/html/canvas/WebGLTexture.cpp b/Source/core/html/canvas/WebGLTexture.cpp |
| index c5d2bff5446ba69dec7f58f3b38cd8c397ccb980..531b5b5f0528d64c7f22e1b3b5860a489d578a1e 100644 |
| --- a/Source/core/html/canvas/WebGLTexture.cpp |
| +++ b/Source/core/html/canvas/WebGLTexture.cpp |
| @@ -51,6 +51,7 @@ WebGLTexture::WebGLTexture(WebGLRenderingContext* ctx) |
| , m_isFloatType(false) |
| , m_isHalfFloatType(false) |
| { |
| + ScriptWrappable::init(this); |
| setObject(ctx->graphicsContext3D()->createTexture()); |
| } |