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

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

Issue 1824433002: Remove getError() and synthesizeGLError() from WebGraphicsContext3D. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@simples-tplus
Patch Set: 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 db251f3a6df0a3d931bbc49f9e17247956645351..d8b324eb786453196656c1d9dd1ae3a69218a2ae 100644
--- a/third_party/WebKit/Source/modules/webgl/OESVertexArrayObject.cpp
+++ b/third_party/WebKit/Source/modules/webgl/OESVertexArrayObject.cpp
@@ -94,7 +94,7 @@ void OESVertexArrayObject::bindVertexArrayOES(ScriptState* scriptState, WebGLVer
return;
if (arrayObject && (arrayObject->isDeleted() || !arrayObject->validate(0, scoped.context()))) {
- scoped.context()->webContext()->synthesizeGLError(GL_INVALID_OPERATION);
+ scoped.context()->synthesizeGLError(GL_INVALID_OPERATION, "bindVertexArrayOES", "invalid arrayObject");
return;
}

Powered by Google App Engine
This is Rietveld 408576698