| 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 e15281d1fc9389c193ddc0c21e29049712974ac0..3b58567b5c630c2ed9b9f59967990b945b6059e6 100644
|
| --- a/third_party/WebKit/Source/modules/webgl/OESVertexArrayObject.cpp
|
| +++ b/third_party/WebKit/Source/modules/webgl/OESVertexArrayObject.cpp
|
| @@ -87,8 +87,9 @@ void OESVertexArrayObject::bindVertexArrayOES(
|
| if (scoped.isLost())
|
| return;
|
|
|
| - if (arrayObject && (arrayObject->isDeleted() ||
|
| - !arrayObject->validate(0, scoped.context()))) {
|
| + if (arrayObject &&
|
| + (arrayObject->isDeleted() ||
|
| + !arrayObject->validate(0, scoped.context()))) {
|
| scoped.context()->synthesizeGLError(
|
| GL_INVALID_OPERATION, "bindVertexArrayOES", "invalid arrayObject");
|
| return;
|
|
|