| Index: Source/core/html/canvas/WebGLContextGroup.h
|
| diff --git a/Source/core/html/canvas/WebGLContextGroup.h b/Source/core/html/canvas/WebGLContextGroup.h
|
| index 3bd00563a7cad00e3b587419b3192df3c9ec6114..48a8261c41fc6b37051f76e836436a44bf1c9fb5 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"
|
| @@ -36,7 +36,7 @@ namespace WebCore {
|
| class GraphicsContext3D;
|
| class WebGLExtension;
|
| class WebGLSharedObject;
|
| -class WebGLRenderingContext;
|
| +class WebGLRenderingContextBase;
|
|
|
| typedef int ExceptionCode;
|
|
|
| @@ -45,15 +45,15 @@ public:
|
| static PassRefPtr<WebGLContextGroup> create();
|
| virtual ~WebGLContextGroup();
|
|
|
| - void addContext(WebGLRenderingContext*);
|
| - void removeContext(WebGLRenderingContext*);
|
| + void addContext(WebGLRenderingContextBase*);
|
| + void removeContext(WebGLRenderingContextBase*);
|
|
|
| void addObject(WebGLSharedObject*);
|
| void removeObject(WebGLSharedObject*);
|
|
|
| GraphicsContext3D* getAGraphicsContext3D();
|
|
|
| - void loseContextGroup(WebGLRenderingContext::LostContextMode);
|
| + void loseContextGroup(WebGLRenderingContextBase::LostContextMode);
|
|
|
| private:
|
| friend class WebGLObject;
|
| @@ -62,7 +62,7 @@ public:
|
|
|
| void detachAndRemoveAllObjects();
|
|
|
| - HashSet<WebGLRenderingContext*> m_contexts;
|
| + HashSet<WebGLRenderingContextBase*> m_contexts;
|
| HashSet<WebGLSharedObject*> m_groupObjects;
|
| };
|
|
|
|
|