Index: Source/core/html/canvas/OESVertexArrayObject.cpp |
diff --git a/Source/core/html/canvas/OESVertexArrayObject.cpp b/Source/core/html/canvas/OESVertexArrayObject.cpp |
index 9f755342eeddcee04cd63f3734777853ec891074..848c85f5557d88858636d62448f7e9af74e9fce5 100644 |
--- a/Source/core/html/canvas/OESVertexArrayObject.cpp |
+++ b/Source/core/html/canvas/OESVertexArrayObject.cpp |
@@ -94,7 +94,7 @@ void OESVertexArrayObject::bindVertexArrayOES(WebGLVertexArrayObjectOES* arrayOb |
return; |
if (arrayObject && (arrayObject->isDeleted() || !arrayObject->validate(0, context()))) { |
- m_context->graphicsContext3D()->synthesizeGLError(GraphicsContext3D::INVALID_OPERATION); |
+ m_context->graphicsContext3D()->synthesizeGLError(GL_INVALID_OPERATION); |
return; |
} |