| 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;
|
| };
|
|
|
|
|