Index: Source/core/html/canvas/WebGLCompressedTexturePVRTC.cpp |
diff --git a/Source/core/html/canvas/WebGLCompressedTexturePVRTC.cpp b/Source/core/html/canvas/WebGLCompressedTexturePVRTC.cpp |
index 8774d587fb18cab56f82b9286105bd76d945196a..04ee4969b1ff003bba5699a0ea54eaef5a0ef0aa 100644 |
--- a/Source/core/html/canvas/WebGLCompressedTexturePVRTC.cpp |
+++ b/Source/core/html/canvas/WebGLCompressedTexturePVRTC.cpp |
@@ -35,6 +35,7 @@ namespace WebCore { |
WebGLCompressedTexturePVRTC::WebGLCompressedTexturePVRTC(WebGLRenderingContext* context) |
: WebGLExtension(context) |
{ |
+ ScriptWrappable::init(this); |
context->addCompressedTextureFormat(Extensions3D::COMPRESSED_RGB_PVRTC_4BPPV1_IMG); |
context->addCompressedTextureFormat(Extensions3D::COMPRESSED_RGB_PVRTC_2BPPV1_IMG); |
context->addCompressedTextureFormat(Extensions3D::COMPRESSED_RGBA_PVRTC_4BPPV1_IMG); |