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 ff678c94280da4962bc6ea19b4142bab9358d636..fd91d3ce48d0a4a327323e3fe550a99d6ba6443d 100644 |
--- a/gpu/command_buffer/service/gles2_cmd_decoder_mock.h |
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_mock.h |
@@ -33,13 +33,15 @@ class MockGLES2Decoder : public GLES2Decoder { |
MockGLES2Decoder(); |
virtual ~MockGLES2Decoder(); |
- MOCK_METHOD6(Initialize, |
- bool(const scoped_refptr<gfx::GLSurface>& surface, |
- const scoped_refptr<gfx::GLContext>& context, |
- bool offscreen, |
- const gfx::Size& size, |
- const DisallowedFeatures& disallowed_features, |
- const std::vector<int32>& attribs)); |
+ MOCK_METHOD7( |
+ Initialize, |
+ bool(const scoped_refptr<gfx::GLSurface>& surface, |
+ const scoped_refptr<gfx::GLContext>& context, |
+ const scoped_refptr<ShaderTranslatorCache>& shader_translator_cache, |
+ bool offscreen, |
+ const gfx::Size& size, |
+ const DisallowedFeatures& disallowed_features, |
+ const std::vector<int32>& attribs)); |
MOCK_METHOD1(Destroy, void(bool have_context)); |
MOCK_METHOD1(SetSurface, void(const scoped_refptr<gfx::GLSurface>& surface)); |
MOCK_METHOD1(ProduceFrontBuffer, void(const Mailbox& mailbox)); |