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 6eb313db26dc0ebce786b9f6381d4e6591a77408..7cdd56c018e18b7742ff0688de3969fdf324c4b6 100644 |
--- a/gpu/command_buffer/service/gles2_cmd_decoder_mock.h |
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_mock.h |
@@ -56,6 +56,15 @@ class MockGLES2Decoder : public GLES2Decoder { |
uint32* service_texture_id)); |
MOCK_METHOD0(GetContextLostReason, error::ContextLostReason()); |
MOCK_CONST_METHOD1(GetCommandName, const char*(unsigned int command_id)); |
+ MOCK_METHOD8(ClearLevel, bool( |
+ unsigned service_id, |
+ unsigned bind_target, |
+ unsigned target, |
+ int level, |
+ unsigned format, |
+ unsigned type, |
+ int width, |
+ int height)); |
DISALLOW_COPY_AND_ASSIGN(MockGLES2Decoder); |
}; |