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 8ca94b32e45f47442afd11724319713d2c91ace9..36e64592cfb815b2597b827ee24acb7fda4e928a 100644 |
--- a/content/common/gpu/client/command_buffer_proxy_impl.cc |
+++ b/content/common/gpu/client/command_buffer_proxy_impl.cc |
@@ -598,14 +598,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); |
} |
} |