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 3a2102589919f5b3712ba969c7200e7d0355fbfa..39c1547007f4e19688db755b85dbaa69c38acfa4 100644 |
--- a/gpu/command_buffer/service/gles2_cmd_decoder_mock.h |
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_mock.h |
@@ -87,7 +87,11 @@ class MockGLES2Decoder : public GLES2Decoder { |
int width, |
int height, |
bool is_texture_immutable)); |
- MOCK_METHOD0(GetGLError, uint32()); |
+ MOCK_METHOD0(GetGLError, uint32()); |
+ MOCK_METHOD3(SetGLError, void( |
+ unsigned error, const char* function_name, const char* msg)); |
+ MOCK_METHOD3(SetGLErrorInvalidEnum, void( |
+ const char* function_name, unsigned value, const char* label)); |
MOCK_METHOD1(SetMsgCallback, void(const MsgCallback& callback)); |
MOCK_METHOD1(SetWaitSyncPointCallback, |
void(const WaitSyncPointCallback& callback)); |