| Index: Source/core/html/canvas/WebGLContextObject.h
|
| diff --git a/Source/core/html/canvas/WebGLContextObject.h b/Source/core/html/canvas/WebGLContextObject.h
|
| index 99e56a48edb73585787c759355ca794fca2ce5a1..21be7a53d8a83e7066bda512c7692f4f29809b81 100644
|
| --- a/Source/core/html/canvas/WebGLContextObject.h
|
| +++ b/Source/core/html/canvas/WebGLContextObject.h
|
| @@ -34,17 +34,17 @@ class WebGraphicsContext3D;
|
|
|
| namespace WebCore {
|
|
|
| -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 OVERRIDE FINAL
|
| + virtual bool validate(const WebGLContextGroup*, const WebGLRenderingContextBase* context) const OVERRIDE FINAL
|
| {
|
| return context == m_context;
|
| }
|
| @@ -52,7 +52,7 @@ public:
|
| void detachContext();
|
|
|
| protected:
|
| - WebGLContextObject(WebGLRenderingContext*);
|
| + WebGLContextObject(WebGLRenderingContextBase*);
|
|
|
| virtual bool hasGroupOrContext() const OVERRIDE FINAL
|
| {
|
| @@ -62,7 +62,7 @@ protected:
|
| virtual blink::WebGraphicsContext3D* getAWebGraphicsContext3D() const OVERRIDE FINAL;
|
|
|
| private:
|
| - WebGLRenderingContext* m_context;
|
| + WebGLRenderingContextBase* m_context;
|
| };
|
|
|
| } // namespace WebCore
|
|
|