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

Unified Diff: third_party/WebKit/Source/modules/webgl/OESVertexArrayObject.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/OESVertexArrayObject.cpp
diff --git a/third_party/WebKit/Source/modules/webgl/OESVertexArrayObject.cpp b/third_party/WebKit/Source/modules/webgl/OESVertexArrayObject.cpp
index d8b324eb786453196656c1d9dd1ae3a69218a2ae..74c640508dc48c97c0d24546b91c5be80e12d3dd 100644
--- a/third_party/WebKit/Source/modules/webgl/OESVertexArrayObject.cpp
+++ b/third_party/WebKit/Source/modules/webgl/OESVertexArrayObject.cpp
@@ -72,7 +72,7 @@ void OESVertexArrayObject::deleteVertexArrayOES(ScriptState* scriptState, WebGLV
if (!arrayObject->isDefaultObject() && arrayObject == scoped.context()->m_boundVertexArrayObject)
scoped.context()->setBoundVertexArrayObject(scriptState, nullptr);
- arrayObject->deleteObject(scoped.context()->webContext(), scoped.context()->contextGL());
+ arrayObject->deleteObject(scoped.context()->contextGL());
}
GLboolean OESVertexArrayObject::isVertexArrayOES(WebGLVertexArrayObjectOES* arrayObject)

Powered by Google App Engine
This is Rietveld 408576698