| Index: Source/core/html/canvas/WebGLLoseContext.h
|
| diff --git a/Source/core/html/canvas/WebGLLoseContext.h b/Source/core/html/canvas/WebGLLoseContext.h
|
| index e2a1141685191951328de500b85a5d6f1524cdf0..cab49f347402e7985c411a4036a407a075c046bd 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 FINAL : 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* extensionName();
|
|
|
| virtual ~WebGLLoseContext();
|
| - virtual ExtensionName name() const OVERRIDE;
|
| + virtual WebGLExtensionName name() const OVERRIDE;
|
| virtual void lose(bool) OVERRIDE;
|
|
|
| void loseContext();
|
| void restoreContext();
|
|
|
| private:
|
| - WebGLLoseContext(WebGLRenderingContext*);
|
| + WebGLLoseContext(WebGLRenderingContextBase*);
|
| };
|
|
|
| } // namespace WebCore
|
|
|