Index: Source/core/html/canvas/OESTextureFloat.cpp |
diff --git a/Source/core/html/canvas/OESTextureFloat.cpp b/Source/core/html/canvas/OESTextureFloat.cpp |
index 0a983587fa2d77a9c5d819e433466f5bbf4b93a1..d2f5a22ed2af7e6861584dde584d53a7e85e8627 100644 |
--- a/Source/core/html/canvas/OESTextureFloat.cpp |
+++ b/Source/core/html/canvas/OESTextureFloat.cpp |
@@ -33,6 +33,7 @@ namespace WebCore { |
OESTextureFloat::OESTextureFloat(WebGLRenderingContext* context) |
: WebGLExtension(context) |
{ |
+ ScriptWrappable::init(this); |
context->graphicsContext3D()->getExtensions()->ensureEnabled("GL_OES_texture_float"); |
} |