Index: Source/core/html/canvas/WebGLContextObject.cpp |
diff --git a/Source/core/html/canvas/WebGLContextObject.cpp b/Source/core/html/canvas/WebGLContextObject.cpp |
index 66f572ddd2f209b5dc9d64e435feb699bfdc1a16..83441589defb70bea4690902c64c94840d3ce119 100644 |
--- a/Source/core/html/canvas/WebGLContextObject.cpp |
+++ b/Source/core/html/canvas/WebGLContextObject.cpp |
@@ -47,7 +47,7 @@ void WebGLContextObject::detachContext() |
{ |
detach(); |
if (m_context) { |
- deleteObject(m_context->webGraphicsContext3D()); |
+ deleteObject(m_context->webContext()); |
m_context->removeContextObject(this); |
m_context = 0; |
} |
@@ -55,7 +55,7 @@ void WebGLContextObject::detachContext() |
blink::WebGraphicsContext3D* WebGLContextObject::getAWebGraphicsContext3D() const |
{ |
- return m_context ? m_context->webGraphicsContext3D() : 0; |
+ return m_context ? m_context->webContext() : 0; |
} |
} |