Index: gpu/command_buffer/client/cmd_buffer_helper_test.cc |
diff --git a/gpu/command_buffer/client/cmd_buffer_helper_test.cc b/gpu/command_buffer/client/cmd_buffer_helper_test.cc |
index fe6888792349a88cef728a1265a4a834a0d35324..c41377283b8c063f0f02bdaf3d51d6891d7477f1 100644 |
--- a/gpu/command_buffer/client/cmd_buffer_helper_test.cc |
+++ b/gpu/command_buffer/client/cmd_buffer_helper_test.cc |
@@ -48,11 +48,12 @@ class CommandBufferServiceLocked : public CommandBufferService { |
flush_count_(0) {} |
~CommandBufferServiceLocked() override {} |
- void Flush(int32 put_offset) override { |
+ void Flush(int32 put_offset, |
+ const std::vector<uint32>& sync_points) override { |
flush_count_++; |
if (!flush_locked_) { |
last_flush_ = -1; |
- CommandBufferService::Flush(put_offset); |
+ CommandBufferService::Flush(put_offset, sync_points); |
} else { |
last_flush_ = put_offset; |
} |
@@ -66,7 +67,7 @@ class CommandBufferServiceLocked : public CommandBufferService { |
void WaitForGetOffsetInRange(int32 start, int32 end) override { |
if (last_flush_ != -1) { |
- CommandBufferService::Flush(last_flush_); |
+ CommandBufferService::Flush(last_flush_, std::vector<uint32>()); |
last_flush_ = -1; |
} |
CommandBufferService::WaitForGetOffsetInRange(start, end); |