Index: content/common/gpu/client/command_buffer_proxy_impl.cc |
diff --git a/content/common/gpu/client/command_buffer_proxy_impl.cc b/content/common/gpu/client/command_buffer_proxy_impl.cc |
index 336488373490b19452fc9b5372bd2b3f07e6443c..9168a2a3f56d6fef1bc614e5fe836981aa8fc212 100644 |
--- a/content/common/gpu/client/command_buffer_proxy_impl.cc |
+++ b/content/common/gpu/client/command_buffer_proxy_impl.cc |
@@ -170,7 +170,8 @@ int32 CommandBufferProxyImpl::GetLastToken() { |
return last_state_.token; |
} |
-void CommandBufferProxyImpl::Flush(int32 put_offset) { |
+void CommandBufferProxyImpl::Flush(int32 put_offset, |
+ const std::vector<uint32>& sync_points) { |
if (last_state_.error != gpu::error::kNoError) |
return; |
@@ -184,10 +185,8 @@ void CommandBufferProxyImpl::Flush(int32 put_offset) { |
last_put_offset_ = put_offset; |
- Send(new GpuCommandBufferMsg_AsyncFlush(route_id_, |
- put_offset, |
- ++flush_count_, |
- latency_info_)); |
+ Send(new GpuCommandBufferMsg_AsyncFlush(route_id_, put_offset, ++flush_count_, |
+ sync_points, latency_info_)); |
latency_info_.clear(); |
} |