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

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

Issue 24096029: Moved the majority of WebGL functionality into WebGLRenderingContextBase (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed typo in gypi, was only causing issues on Windows (?!?) Created 6 years, 10 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/WebGLContextGroup.h
diff --git a/Source/core/html/canvas/WebGLContextGroup.h b/Source/core/html/canvas/WebGLContextGroup.h
index 935869025088c408859e0049678d2366d6441a7e..6c2f995354013332bda0e70ba332cefb2c2f7aec 100644
--- a/Source/core/html/canvas/WebGLContextGroup.h
+++ b/Source/core/html/canvas/WebGLContextGroup.h
@@ -26,7 +26,7 @@
#ifndef WebGLContextGroup_h
#define WebGLContextGroup_h
-#include "core/html/canvas/WebGLRenderingContext.h"
+#include "core/html/canvas/WebGLRenderingContextBase.h"
#include "wtf/HashSet.h"
#include "wtf/PassRefPtr.h"
#include "wtf/RefCounted.h"
@@ -39,7 +39,7 @@ namespace WebCore {
class WebGLExtension;
class WebGLSharedObject;
-class WebGLRenderingContext;
+class WebGLRenderingContextBase;
typedef int ExceptionCode;
@@ -48,15 +48,15 @@ public:
static PassRefPtr<WebGLContextGroup> create();
~WebGLContextGroup();
- void addContext(WebGLRenderingContext*);
- void removeContext(WebGLRenderingContext*);
+ void addContext(WebGLRenderingContextBase*);
+ void removeContext(WebGLRenderingContextBase*);
void addObject(WebGLSharedObject*);
void removeObject(WebGLSharedObject*);
blink::WebGraphicsContext3D* getAWebGraphicsContext3D();
- void loseContextGroup(WebGLRenderingContext::LostContextMode);
+ void loseContextGroup(WebGLRenderingContextBase::LostContextMode);
private:
friend class WebGLObject;
@@ -65,7 +65,7 @@ public:
void detachAndRemoveAllObjects();
- HashSet<WebGLRenderingContext*> m_contexts;
+ HashSet<WebGLRenderingContextBase*> m_contexts;
HashSet<WebGLSharedObject*> m_groupObjects;
};

Powered by Google App Engine
This is Rietveld 408576698