Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1014)

Unified Diff: Source/core/html/canvas/WebGLLoseContext.h

Issue 24096029: Moved the majority of WebGL functionality into WebGLRenderingContextBase (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..115d6591ddfae65e36bc5ae4caecc950702d96d3 100644
--- a/Source/core/html/canvas/WebGLLoseContext.h
+++ b/Source/core/html/canvas/WebGLLoseContext.h
@@ -32,12 +32,12 @@
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();
@@ -48,7 +48,7 @@ public:
void restoreContext();
private:
- WebGLLoseContext(WebGLRenderingContext*);
+ WebGLLoseContext(WebGLRenderingContextBase*);
};
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698