| 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..825237f132ea4a5743ac18e0ff839f2c96e0ebf6 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
|
| +WebGLRenderingContextBase* WebGLContextObject::getAWebGLRenderingContextBase() const
|
| {
|
| - return m_context ? m_context->webContext() : nullptr;
|
| + return m_context;
|
| }
|
|
|
| DEFINE_TRACE(WebGLContextObject)
|
|
|