Index: Source/core/html/canvas/WebGLCompressedTextureS3TC.cpp |
diff --git a/Source/core/html/canvas/WebGLCompressedTextureS3TC.cpp b/Source/core/html/canvas/WebGLCompressedTextureS3TC.cpp |
index adcb26bcf5b2185e1d331fe31cd00bfdb7b60f47..ae7abe34251b9196da1770edbffa0ede08ca9859 100644 |
--- a/Source/core/html/canvas/WebGLCompressedTextureS3TC.cpp |
+++ b/Source/core/html/canvas/WebGLCompressedTextureS3TC.cpp |
@@ -38,6 +38,7 @@ namespace WebCore { |
WebGLCompressedTextureS3TC::WebGLCompressedTextureS3TC(WebGLRenderingContext* context) |
: WebGLExtension(context) |
{ |
+ ScriptWrappable::init(this); |
context->addCompressedTextureFormat(Extensions3D::COMPRESSED_RGB_S3TC_DXT1_EXT); |
context->addCompressedTextureFormat(Extensions3D::COMPRESSED_RGBA_S3TC_DXT1_EXT); |
context->addCompressedTextureFormat(Extensions3D::COMPRESSED_RGBA_S3TC_DXT3_EXT); |