| Index: Source/core/html/canvas/WebGLContextObject.h
|
| diff --git a/Source/core/html/canvas/WebGLContextObject.h b/Source/core/html/canvas/WebGLContextObject.h
|
| index 21be7a53d8a83e7066bda512c7692f4f29809b81..c4908e7448464a24f0b5462f15e74507d4fdafd5 100644
|
| --- a/Source/core/html/canvas/WebGLContextObject.h
|
| +++ b/Source/core/html/canvas/WebGLContextObject.h
|
| @@ -35,6 +35,7 @@ class WebGraphicsContext3D;
|
| namespace WebCore {
|
|
|
| class WebGLRenderingContextBase;
|
| +class WebGLSharedWebGraphicsContext3D;
|
|
|
| // WebGLContextObject the base class for objects that are owned by a specific
|
| // WebGLRenderingContextBase.
|
| @@ -51,8 +52,10 @@ public:
|
|
|
| void detachContext();
|
|
|
| + virtual void trace(Visitor*) OVERRIDE;
|
| +
|
| protected:
|
| - WebGLContextObject(WebGLRenderingContextBase*);
|
| + explicit WebGLContextObject(WebGLRenderingContextBase*);
|
|
|
| virtual bool hasGroupOrContext() const OVERRIDE FINAL
|
| {
|
| @@ -62,7 +65,10 @@ protected:
|
| virtual blink::WebGraphicsContext3D* getAWebGraphicsContext3D() const OVERRIDE FINAL;
|
|
|
| private:
|
| - WebGLRenderingContextBase* m_context;
|
| + RawPtrWillBeMember<WebGLRenderingContextBase> m_context;
|
| +#if ENABLE(OILPAN)
|
| + RefPtr<WebGLSharedWebGraphicsContext3D> m_sharedWebGraphicsContext3D;
|
| +#endif
|
| };
|
|
|
| } // namespace WebCore
|
|
|