diff options
Diffstat (limited to 'WebCore/html/canvas/WebGLRenderingContext.h')
-rw-r--r-- | WebCore/html/canvas/WebGLRenderingContext.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/WebCore/html/canvas/WebGLRenderingContext.h b/WebCore/html/canvas/WebGLRenderingContext.h index f507054..c4c856c 100644 --- a/WebCore/html/canvas/WebGLRenderingContext.h +++ b/WebCore/html/canvas/WebGLRenderingContext.h @@ -291,7 +291,7 @@ public: private: friend class WebGLObject; - WebGLRenderingContext(HTMLCanvasElement*, PassOwnPtr<GraphicsContext3D>); + WebGLRenderingContext(HTMLCanvasElement*, PassRefPtr<GraphicsContext3D>); void addObject(WebGLObject*); void detachAndRemoveAllObjects(); @@ -329,7 +329,7 @@ public: PassRefPtr<Image> videoFrameToImage(HTMLVideoElement* video); - OwnPtr<GraphicsContext3D> m_context; + RefPtr<GraphicsContext3D> m_context; bool m_needsUpdate; bool m_markedCanvasDirty; // FIXME: I think this is broken -- it does not increment any |