Index: gpu/command_buffer/common/command_buffer_mock.h |
diff --git a/gpu/command_buffer/common/command_buffer_mock.h b/gpu/command_buffer/common/command_buffer_mock.h |
index b7366f8c47fd7e65587b864d30d3aee3ed06923f..1fd82f3d1a547a9816e3e96b3dbac57b5b8225e0 100644 |
--- a/gpu/command_buffer/common/command_buffer_mock.h |
+++ b/gpu/command_buffer/common/command_buffer_mock.h |
@@ -24,7 +24,8 @@ class MockCommandBuffer : public CommandBufferServiceBase { |
MOCK_METHOD0(Initialize, bool()); |
MOCK_METHOD0(GetLastState, State()); |
MOCK_METHOD0(GetLastToken, int32()); |
- MOCK_METHOD1(Flush, void(int32 put_offset)); |
+ MOCK_METHOD2(Flush, |
+ void(int32 put_offset, const std::vector<uint32>& sync_points)); |
MOCK_METHOD2(WaitForTokenInRange, void(int32 start, int32 end)); |
MOCK_METHOD2(WaitForGetOffsetInRange, void(int32 start, int32 end)); |
MOCK_METHOD1(SetGetBuffer, void(int32 transfer_buffer_id)); |