| Index: third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
|
| diff --git a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
|
| index 6f658860ffbd8694bd395ec5b1f3fcdb12b4f23e..daf5a05a88ea942dcfb20d95be2a725d591b0286 100644
|
| --- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
|
| +++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
|
| @@ -1918,7 +1918,7 @@ bool WebGLRenderingContextBase::deleteObject(WebGLObject* object)
|
| if (object->hasObject()) {
|
| // We need to pass in context here because we want
|
| // things in this context unbound.
|
| - object->deleteObject(webContext(), contextGL());
|
| + object->deleteObject(contextGL());
|
| }
|
| return true;
|
| }
|
| @@ -2041,7 +2041,7 @@ void WebGLRenderingContextBase::detachShader(ScriptState* scriptState, WebGLProg
|
| return;
|
| }
|
| contextGL()->DetachShader(objectOrZero(program), objectOrZero(shader));
|
| - shader->onDetached(webContext(), contextGL());
|
| + shader->onDetached(contextGL());
|
| preserveObjectWrapper(scriptState, program, "shader", shader->type(), nullptr);
|
| }
|
|
|
| @@ -4806,7 +4806,7 @@ void WebGLRenderingContextBase::useProgram(ScriptState* scriptState, WebGLProgra
|
|
|
| if (m_currentProgram != program) {
|
| if (m_currentProgram)
|
| - m_currentProgram->onDetached(webContext(), contextGL());
|
| + m_currentProgram->onDetached(contextGL());
|
| m_currentProgram = program;
|
| contextGL()->UseProgram(objectOrZero(program));
|
| if (program)
|
|
|