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 4e617e35bfb84bc4b5c7811c1317f57d39484e31..93dd09dd85d58ac47d11d794a1322b77a944e515 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()); |