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..2b376db2a487329d96c396c0fa681d5191d8da70 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, |
+ gfx::SwapResult 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); |
} |
} |