Index: Source/core/html/canvas/WebGLContextAttributes.h |
diff --git a/Source/core/html/canvas/WebGLContextAttributes.h b/Source/core/html/canvas/WebGLContextAttributes.h |
index 414ec0025fd658b6641e773c74e4e64694e503f3..d609920e0773689b961d761465cc55f3a1f712fd 100644 |
--- a/Source/core/html/canvas/WebGLContextAttributes.h |
+++ b/Source/core/html/canvas/WebGLContextAttributes.h |
@@ -27,14 +27,15 @@ |
#ifndef WebGLContextAttributes_h |
#define WebGLContextAttributes_h |
+#include "bindings/v8/ScriptWrappable.h" |
#include "core/html/canvas/CanvasContextAttributes.h" |
#include "core/platform/graphics/GraphicsContext3D.h" |
-#include <wtf/PassRefPtr.h> |
+#include "wtf/PassRefPtr.h" |
namespace WebCore { |
-class WebGLContextAttributes : public CanvasContextAttributes { |
- public: |
+class WebGLContextAttributes : public CanvasContextAttributes, public ScriptWrappable { |
+public: |
virtual ~WebGLContextAttributes(); |
// Create a new attributes object |
@@ -74,11 +75,11 @@ class WebGLContextAttributes : public CanvasContextAttributes { |
// form that can be used to initialize a GraphicsContext3D. |
GraphicsContext3D::Attributes attributes() const; |
- protected: |
+protected: |
WebGLContextAttributes(); |
WebGLContextAttributes(GraphicsContext3D::Attributes attributes); |
- private: |
+private: |
GraphicsContext3D::Attributes m_attrs; |
}; |