Index: Source/core/html/canvas/WebGLContextAttributes.cpp |
diff --git a/Source/core/html/canvas/WebGLContextAttributes.cpp b/Source/core/html/canvas/WebGLContextAttributes.cpp |
index 374828e23ee1bafb3cb6e75b1f4bd1634c398ccc..a28e4cf20c25429ca6b5f8a0c0c02627405a96c3 100644 |
--- a/Source/core/html/canvas/WebGLContextAttributes.cpp |
+++ b/Source/core/html/canvas/WebGLContextAttributes.cpp |
@@ -43,12 +43,14 @@ PassRefPtr<WebGLContextAttributes> WebGLContextAttributes::create(GraphicsContex |
WebGLContextAttributes::WebGLContextAttributes() |
: CanvasContextAttributes() |
{ |
+ ScriptWrappable::init(this); |
} |
WebGLContextAttributes::WebGLContextAttributes(GraphicsContext3D::Attributes attributes) |
: CanvasContextAttributes() |
, m_attrs(attributes) |
{ |
+ ScriptWrappable::init(this); |
} |
WebGLContextAttributes::~WebGLContextAttributes() |