| Index: Source/core/html/canvas/WebGLLoseContext.h
|
| diff --git a/Source/core/html/canvas/WebGLLoseContext.h b/Source/core/html/canvas/WebGLLoseContext.h
|
| index aa0c5933f86f41971b9f5345afa955bb535a475c..30b8015797093e8c8a9c9a3ec1ee6b02efa78e71 100644
|
| --- a/Source/core/html/canvas/WebGLLoseContext.h
|
| +++ b/Source/core/html/canvas/WebGLLoseContext.h
|
| @@ -32,23 +32,23 @@
|
|
|
| namespace WebCore {
|
|
|
| -class WebGLRenderingContext;
|
| +class WebGLRenderingContextBase;
|
|
|
| class WebGLLoseContext : public WebGLExtension, public ScriptWrappable {
|
| public:
|
| - static PassRefPtr<WebGLLoseContext> create(WebGLRenderingContext*);
|
| - static bool supported(WebGLRenderingContext*);
|
| + static PassRefPtr<WebGLLoseContext> create(WebGLRenderingContextBase*);
|
| + static bool supported(WebGLRenderingContextBase*);
|
| static const char* getExtensionName();
|
|
|
| virtual ~WebGLLoseContext();
|
| - virtual ExtensionName getName() const;
|
| + virtual WebGLExtensionName getName() const;
|
| virtual void lose(bool);
|
|
|
| void loseContext();
|
| void restoreContext();
|
|
|
| private:
|
| - WebGLLoseContext(WebGLRenderingContext*);
|
| + WebGLLoseContext(WebGLRenderingContextBase*);
|
| };
|
|
|
| } // namespace WebCore
|
|
|