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