Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1098)

Unified Diff: third_party/WebKit/Source/modules/webgl/WebGLProgram.cpp

Issue 1833273002: Remove WebGraphicsContext3D::getGLES2Interface(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: getgles2: rebase Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/webgl/WebGLProgram.cpp
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLProgram.cpp b/third_party/WebKit/Source/modules/webgl/WebGLProgram.cpp
index 927b65148463017b28e00e9b093a994eb6e690a1..ded5ebe759b0d8bd57c2337793d26bfcc7388dc3 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLProgram.cpp
+++ b/third_party/WebKit/Source/modules/webgl/WebGLProgram.cpp
@@ -59,16 +59,16 @@ WebGLProgram::~WebGLProgram()
detachAndDeleteObject();
}
-void WebGLProgram::deleteObjectImpl(WebGraphicsContext3D* context3d, gpu::gles2::GLES2Interface* gl)
+void WebGLProgram::deleteObjectImpl(gpu::gles2::GLES2Interface* gl)
{
gl->DeleteProgram(m_object);
m_object = 0;
if (m_vertexShader) {
- m_vertexShader->onDetached(context3d, gl);
+ m_vertexShader->onDetached(gl);
m_vertexShader = nullptr;
}
if (m_fragmentShader) {
- m_fragmentShader->onDetached(context3d, gl);
+ m_fragmentShader->onDetached(gl);
m_fragmentShader = nullptr;
}
}
« no previous file with comments | « third_party/WebKit/Source/modules/webgl/WebGLProgram.h ('k') | third_party/WebKit/Source/modules/webgl/WebGLQuery.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698