| 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 789b0f22c7600892c908b4c03203a189983ca9cd..65925351969071ecd4110c890ebe81fd6346bbfc 100644
|
| --- a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc
|
| +++ b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc
|
| @@ -185,11 +185,6 @@ void GLES2DecoderTestBase::InitDecoder(
|
| .WillOnce(SetArgumentPointee<1>(has_stencil ? 8 : 0))
|
| .RetiresOnSaturation();
|
|
|
| - EXPECT_CALL(*gl_, Clear(
|
| - GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT))
|
| - .Times(1)
|
| - .RetiresOnSaturation();
|
| -
|
| EXPECT_CALL(*gl_, Enable(GL_VERTEX_PROGRAM_POINT_SIZE))
|
| .Times(1)
|
| .RetiresOnSaturation();
|
| @@ -236,6 +231,11 @@ void GLES2DecoderTestBase::InitDecoder(
|
| .Times(1)
|
| .RetiresOnSaturation();
|
|
|
| + EXPECT_CALL(*gl_, Clear(
|
| + GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT))
|
| + .Times(1)
|
| + .RetiresOnSaturation();
|
| +
|
| engine_.reset(new StrictMock<MockCommandBufferEngine>());
|
| gpu::Buffer buffer = engine_->GetSharedMemoryBuffer(kSharedMemoryId);
|
| shared_memory_offset_ = kSharedMemoryOffset;
|
|
|