| Index: Source/modules/webgl/WebGLContextObject.cpp
|
| diff --git a/Source/modules/webgl/WebGLContextObject.cpp b/Source/modules/webgl/WebGLContextObject.cpp
|
| index e1359f0c1220bbfb37173d2e8137b9f63319e520..4278843a94a0f412d5edbc8de1483e29b1662bf7 100644
|
| --- a/Source/modules/webgl/WebGLContextObject.cpp
|
| +++ b/Source/modules/webgl/WebGLContextObject.cpp
|
| @@ -39,10 +39,6 @@ WebGLContextObject::WebGLContextObject(WebGLRenderingContextBase* context)
|
|
|
| WebGLContextObject::~WebGLContextObject()
|
| {
|
| -#if !ENABLE(OILPAN)
|
| - if (m_context)
|
| - m_context->removeContextObject(this);
|
| -#endif
|
| }
|
|
|
| void WebGLContextObject::detachContext()
|
| @@ -57,7 +53,7 @@ void WebGLContextObject::detachContext()
|
|
|
| WebGraphicsContext3D* WebGLContextObject::getAWebGraphicsContext3D() const
|
| {
|
| - return m_context ? m_context->webContext() : 0;
|
| + return m_context ? m_context->webContext() : nullptr;
|
| }
|
|
|
| DEFINE_TRACE(WebGLContextObject)
|
|
|