Index: gpu/command_buffer/client/cmd_buffer_helper.cc |
diff --git a/gpu/command_buffer/client/cmd_buffer_helper.cc b/gpu/command_buffer/client/cmd_buffer_helper.cc |
index a99201e4b36164ef01ef218d7651f6fe55e851b9..988ec63203a36b3dbf04248ae63e9307eda3265c 100644 |
--- a/gpu/command_buffer/client/cmd_buffer_helper.cc |
+++ b/gpu/command_buffer/client/cmd_buffer_helper.cc |
@@ -153,7 +153,8 @@ void CommandBufferHelper::Flush() { |
if (usable() && last_put_sent_ != put_) { |
last_flush_time_ = base::TimeTicks::Now(); |
last_put_sent_ = put_; |
- command_buffer_->Flush(put_); |
+ command_buffer_->Flush(put_, sync_points_to_wait_on_); |
+ sync_points_to_wait_on_.clear(); |
++flush_generation_; |
CalcImmediateEntries(0); |
} |