Index: Source/core/html/canvas/OESVertexArrayObject.cpp |
diff --git a/Source/core/html/canvas/OESVertexArrayObject.cpp b/Source/core/html/canvas/OESVertexArrayObject.cpp |
index 4ebd1b80115e85586ae41573e8778e8ec00ac433..7b8df7fb629e2f18d195f4cccea6779765fc8f15 100644 |
--- a/Source/core/html/canvas/OESVertexArrayObject.cpp |
+++ b/Source/core/html/canvas/OESVertexArrayObject.cpp |
@@ -36,6 +36,7 @@ namespace WebCore { |
OESVertexArrayObject::OESVertexArrayObject(WebGLRenderingContext* context) |
: WebGLExtension(context) |
{ |
+ ScriptWrappable::init(this); |
context->graphicsContext3D()->getExtensions()->ensureEnabled("GL_OES_vertex_array_object"); |
} |