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 ded5e4bb1ae15514505f9e495098e14265eb80a7..fbca28110da3c43c083977fac4177d8f7dcc57ed 100644 |
--- a/gpu/command_buffer/service/gles2_cmd_decoder_mock.h |
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_mock.h |
@@ -9,6 +9,7 @@ |
#include <vector> |
+#include "gpu/command_buffer/common/mailbox.h" |
#include "gpu/command_buffer/service/gles2_cmd_decoder.h" |
#include "base/callback_forward.h" |
#include "testing/gmock/include/gmock/gmock.h" |
@@ -43,7 +44,7 @@ class MockGLES2Decoder : public GLES2Decoder { |
const std::vector<int32>& attribs)); |
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(ProduceFrontBuffer, bool(const Mailbox& mailbox)); |
MOCK_METHOD1(ResizeOffscreenFrameBuffer, bool(const gfx::Size& size)); |
MOCK_METHOD0(MakeCurrent, bool()); |
MOCK_METHOD0(ReleaseCurrent, void()); |