Index: Source/core/html/canvas/OESTextureFloatLinear.cpp |
diff --git a/Source/core/html/canvas/OESTextureFloatLinear.cpp b/Source/core/html/canvas/OESTextureFloatLinear.cpp |
index 454df1f39b7f79c63a425f7a42f8b300a6e1810c..04d59e22c240e8e585b393aa5411369665cecf78 100644 |
--- a/Source/core/html/canvas/OESTextureFloatLinear.cpp |
+++ b/Source/core/html/canvas/OESTextureFloatLinear.cpp |
@@ -34,6 +34,7 @@ namespace WebCore { |
OESTextureFloatLinear::OESTextureFloatLinear(WebGLRenderingContext* context) |
: WebGLExtension(context) |
{ |
+ ScriptWrappable::init(this); |
context->graphicsContext3D()->getExtensions()->ensureEnabled("GL_OES_texture_float_linear"); |
} |