Index: Source/core/html/canvas/OESVertexArrayObject.cpp |
diff --git a/Source/core/html/canvas/OESVertexArrayObject.cpp b/Source/core/html/canvas/OESVertexArrayObject.cpp |
index 5ff1af87a922e7e47aeb84541d4d6994f5e5c70c..934c97844b5d471fdaafb6afc85b72f9e2188b7e 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; |
} |