Index: Source/core/html/canvas/WebGLTexture.cpp |
diff --git a/Source/core/html/canvas/WebGLTexture.cpp b/Source/core/html/canvas/WebGLTexture.cpp |
index c8c23bd4be545a9c05708dcf75ca32171cb10ca0..da8a6e6ae6ef269be0d5a233fc70e717d5545c51 100644 |
--- a/Source/core/html/canvas/WebGLTexture.cpp |
+++ b/Source/core/html/canvas/WebGLTexture.cpp |
@@ -49,6 +49,7 @@ WebGLTexture::WebGLTexture(WebGLRenderingContext* ctx) |
, m_isComplete(false) |
, m_needToUseBlackTexture(false) |
{ |
+ ScriptWrappable::init(this); |
setObject(ctx->graphicsContext3D()->createTexture()); |
} |