| Index: Source/core/html/canvas/WebGLContextObject.h
|
| diff --git a/Source/core/html/canvas/WebGLContextObject.h b/Source/core/html/canvas/WebGLContextObject.h
|
| index 1e4d29657542e6edad0615290fffeb2f6e308a98..a4acf551a4ed519d09fca1261d8b8398029ee147 100644
|
| --- a/Source/core/html/canvas/WebGLContextObject.h
|
| +++ b/Source/core/html/canvas/WebGLContextObject.h
|
| @@ -31,17 +31,17 @@
|
| namespace WebCore {
|
|
|
| class GraphicsContext3D;
|
| -class WebGLRenderingContext;
|
| +class WebGLRenderingContextBase;
|
|
|
| // WebGLContextObject the base class for objects that are owned by a specific
|
| -// WebGLRenderingContext.
|
| +// WebGLRenderingContextBase.
|
| class WebGLContextObject : public WebGLObject {
|
| public:
|
| virtual ~WebGLContextObject();
|
|
|
| - WebGLRenderingContext* context() const { return m_context; }
|
| + WebGLRenderingContextBase* context() const { return m_context; }
|
|
|
| - virtual bool validate(const WebGLContextGroup*, const WebGLRenderingContext* context) const
|
| + virtual bool validate(const WebGLContextGroup*, const WebGLRenderingContextBase* context) const
|
| {
|
| return context == m_context;
|
| }
|
| @@ -49,7 +49,7 @@ public:
|
| void detachContext();
|
|
|
| protected:
|
| - WebGLContextObject(WebGLRenderingContext*);
|
| + WebGLContextObject(WebGLRenderingContextBase*);
|
|
|
| virtual bool hasGroupOrContext() const
|
| {
|
| @@ -59,7 +59,7 @@ protected:
|
| virtual GraphicsContext3D* getAGraphicsContext3D() const;
|
|
|
| private:
|
| - WebGLRenderingContext* m_context;
|
| + WebGLRenderingContextBase* m_context;
|
| };
|
|
|
| } // namespace WebCore
|
|
|