Index: gpu/command_buffer/service/gles2_cmd_decoder_mock.h |
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_mock.h b/gpu/command_buffer/service/gles2_cmd_decoder_mock.h |
index c58405bb2e792223fc0e51f4634e1e798cef9f3d..65df53c53dfdc02646ed27a10df1066c6792b281 100644 |
--- a/gpu/command_buffer/service/gles2_cmd_decoder_mock.h |
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_mock.h |
@@ -124,9 +124,9 @@ class MockGLES2Decoder : public GLES2Decoder { |
MOCK_METHOD0(GetTotalTextureUploadTime, base::TimeDelta()); |
MOCK_METHOD0(GetTotalProcessingCommandsTime, base::TimeDelta()); |
MOCK_METHOD1(AddProcessingCommandsTime, void(base::TimeDelta)); |
- MOCK_METHOD0(WasContextLost, bool()); |
- MOCK_METHOD0(WasContextLostByRobustnessExtension, bool()); |
- MOCK_METHOD1(LoseContext, void(uint32 reset_status)); |
+ MOCK_CONST_METHOD0(WasContextLost, bool()); |
+ MOCK_CONST_METHOD0(WasContextLostByRobustnessExtension, bool()); |
+ MOCK_METHOD1(MarkContextLost, void(gpu::error::ContextLostReason reason)); |
DISALLOW_COPY_AND_ASSIGN(MockGLES2Decoder); |
}; |