| Index: gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc
|
| diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc
|
| index 88a46bde6ded2301204b98dd6754fedcbbe57add..d744776429671e97c1189e52e6c964b9d4f9df1b 100644
|
| --- a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc
|
| +++ b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc
|
| @@ -253,9 +253,11 @@ void GLES2DecoderTestBase::InitDecoderWithCommandLine(
|
|
|
| AddExpectationsForBindVertexArrayOES();
|
|
|
| - EXPECT_CALL(*gl_, EnableVertexAttribArray(0))
|
| - .Times(1)
|
| - .RetiresOnSaturation();
|
| + if (!group_->feature_info()->gl_version_info().BehavesLikeGLES()) {
|
| + EXPECT_CALL(*gl_, EnableVertexAttribArray(0))
|
| + .Times(1)
|
| + .RetiresOnSaturation();
|
| + }
|
| static GLuint attrib_0_id[] = {
|
| kServiceAttrib0BufferId,
|
| };
|
|
|