| Index: third_party/WebKit/Source/modules/webgl/WebGLContextObject.cpp
|
| diff --git a/third_party/WebKit/Source/modules/webgl/WebGLContextObject.cpp b/third_party/WebKit/Source/modules/webgl/WebGLContextObject.cpp
|
| index 83d69b9308eff50d68b7674f0c01acf0be216a11..515d2433c0c6c34bc14fe441f5f50ada7c15ea9f 100644
|
| --- a/third_party/WebKit/Source/modules/webgl/WebGLContextObject.cpp
|
| +++ b/third_party/WebKit/Source/modules/webgl/WebGLContextObject.cpp
|
| @@ -47,15 +47,15 @@ void WebGLContextObject::detachContext()
|
| {
|
| detach();
|
| if (m_context) {
|
| - deleteObject(m_context->webContext(), m_context->contextGL());
|
| + deleteObject(m_context->contextGL());
|
| m_context->removeContextObject(this);
|
| m_context = nullptr;
|
| }
|
| }
|
|
|
| -WebGraphicsContext3D* WebGLContextObject::getAWebGraphicsContext3D() const
|
| +gpu::gles2::GLES2Interface* WebGLContextObject::getAGLInterface() const
|
| {
|
| - return m_context ? m_context->webContext() : nullptr;
|
| + return m_context->contextGL();
|
| }
|
|
|
| DEFINE_TRACE(WebGLContextObject)
|
|
|