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 257e084645ca7261fcdf0473c28e505b49fa5fa4..e7149a08adda27804dffab49d24dc9853d616c62 100644 |
--- a/content/common/gpu/client/command_buffer_proxy_impl.cc |
+++ b/content/common/gpu/client/command_buffer_proxy_impl.cc |
@@ -597,14 +597,16 @@ gpu::CommandBufferSharedState* CommandBufferProxyImpl::shared_state() const { |
} |
void CommandBufferProxyImpl::OnSwapBuffersCompleted( |
- const std::vector<ui::LatencyInfo>& latency_info) { |
+ const std::vector<ui::LatencyInfo>& latency_info, |
+ int32 result) { |
if (!swap_buffers_completion_callback_.is_null()) { |
if (!ui::LatencyInfo::Verify( |
latency_info, "CommandBufferProxyImpl::OnSwapBuffersCompleted")) { |
- swap_buffers_completion_callback_.Run(std::vector<ui::LatencyInfo>()); |
+ swap_buffers_completion_callback_.Run(std::vector<ui::LatencyInfo>(), |
+ result); |
return; |
} |
- swap_buffers_completion_callback_.Run(latency_info); |
+ swap_buffers_completion_callback_.Run(latency_info, result); |
} |
} |