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..65797632e02709bd1acd83f93a3d1a9dfc8df8bd 100644 |
--- a/Source/core/html/canvas/WebGLContextObject.h |
+++ b/Source/core/html/canvas/WebGLContextObject.h |
@@ -51,18 +51,22 @@ public: |
void detachContext(); |
+ virtual void trace(Visitor*) OVERRIDE; |
+ |
protected: |
- WebGLContextObject(WebGLRenderingContextBase*); |
+ explicit WebGLContextObject(WebGLRenderingContextBase*); |
virtual bool hasGroupOrContext() const OVERRIDE FINAL |
{ |
return m_context; |
} |
+#if !ENABLE(OILPAN) |
virtual blink::WebGraphicsContext3D* getAWebGraphicsContext3D() const OVERRIDE FINAL; |
+#endif |
private: |
- WebGLRenderingContextBase* m_context; |
+ RawPtrWillBeMember<WebGLRenderingContextBase> m_context; |
}; |
} // namespace WebCore |