Index: gpu/command_buffer/service/gles2_cmd_decoder_mock.h |
=================================================================== |
--- gpu/command_buffer/service/gles2_cmd_decoder_mock.h (revision 137438) |
+++ gpu/command_buffer/service/gles2_cmd_decoder_mock.h (working copy) |
@@ -40,7 +40,8 @@ |
const DisallowedFeatures& disallowed_features, |
const char* allowed_extensions, |
const std::vector<int32>& attribs)); |
- MOCK_METHOD0(Destroy, void()); |
+ MOCK_METHOD1(Destroy, void(bool have_context)); |
+ MOCK_METHOD1(SetSurface, void(const scoped_refptr<gfx::GLSurface>& surface)); |
MOCK_METHOD2(SetParent, bool(GLES2Decoder* parent, uint32 parent_texture_id)); |
MOCK_METHOD1(ResizeOffscreenFrameBuffer, bool(const gfx::Size& size)); |
MOCK_METHOD0(MakeCurrent, bool()); |