Index: Source/core/html/canvas/WebGLBuffer.cpp |
diff --git a/Source/core/html/canvas/WebGLBuffer.cpp b/Source/core/html/canvas/WebGLBuffer.cpp |
index 9e4bc1418a8861ee6b69686ddbd900f45aed9ad4..c586932df4638f310b2f25bba9e9f9203830b814 100644 |
--- a/Source/core/html/canvas/WebGLBuffer.cpp |
+++ b/Source/core/html/canvas/WebGLBuffer.cpp |
@@ -43,6 +43,7 @@ WebGLBuffer::WebGLBuffer(WebGLRenderingContext* ctx) |
: WebGLSharedObject(ctx) |
, m_target(0) |
{ |
+ ScriptWrappable::init(this); |
setObject(ctx->graphicsContext3D()->createBuffer()); |
} |