Index: Source/core/html/canvas/OESStandardDerivatives.cpp |
diff --git a/Source/core/html/canvas/OESStandardDerivatives.cpp b/Source/core/html/canvas/OESStandardDerivatives.cpp |
index 1228e9de7878f79b5c435149a7e43226007d2c55..988c878d34ed6ea0a2141cf6bb557bd90f62e8e0 100644 |
--- a/Source/core/html/canvas/OESStandardDerivatives.cpp |
+++ b/Source/core/html/canvas/OESStandardDerivatives.cpp |
@@ -33,6 +33,7 @@ namespace WebCore { |
OESStandardDerivatives::OESStandardDerivatives(WebGLRenderingContext* context) |
: WebGLExtension(context) |
{ |
+ ScriptWrappable::init(this); |
context->graphicsContext3D()->getExtensions()->ensureEnabled("GL_OES_standard_derivatives"); |
} |