| 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 b14913504927a77a807c073fa8a53a71b4a27830..25132795648fc0975d10c1226f10a5a4a519e32b 100644
|
| --- a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc
|
| +++ b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc
|
| @@ -831,6 +831,17 @@ void GLES2DecoderTestBase::DoBindBuffer(
|
| EXPECT_CALL(*gl_, BindBuffer(target, service_id))
|
| .Times(1)
|
| .RetiresOnSaturation();
|
| + if (target == GL_PIXEL_PACK_BUFFER) {
|
| + EXPECT_CALL(*gl_, PixelStorei(GL_PACK_ROW_LENGTH, _))
|
| + .Times(1)
|
| + .RetiresOnSaturation();
|
| + EXPECT_CALL(*gl_, PixelStorei(GL_PACK_SKIP_PIXELS, _))
|
| + .Times(1)
|
| + .RetiresOnSaturation();
|
| + EXPECT_CALL(*gl_, PixelStorei(GL_PACK_SKIP_ROWS, _))
|
| + .Times(1)
|
| + .RetiresOnSaturation();
|
| + }
|
| cmds::BindBuffer cmd;
|
| cmd.Init(target, client_id);
|
| EXPECT_EQ(error::kNoError, ExecuteCmd(cmd));
|
|
|