| 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 70e070f1a4984387ed056944586c0329006c59b1..0d31a9150a06a85e82a09585088b935ece9f6d31 100644
|
| --- a/content/common/gpu/client/command_buffer_proxy_impl.cc
|
| +++ b/content/common/gpu/client/command_buffer_proxy_impl.cc
|
| @@ -215,13 +215,7 @@ void CommandBufferProxyImpl::SetLatencyInfo(
|
| const std::vector<ui::LatencyInfo>& latency_info) {
|
| if (last_state_.error != gpu::error::kNoError)
|
| return;
|
| - // TODO(miletus) : Pass the std::vector<ui::LatencyInfo> latency_info
|
| - // directly without merging once GpuCommandBufferMsg_SetLatencyInfo
|
| - // is converted to contain std::vector<ui::LatencyInfo>.
|
| - ui::LatencyInfo merged_latency;
|
| - for (size_t i = 0; i < latency_info.size(); i++)
|
| - merged_latency.MergeWith(latency_info[i]);
|
| - Send(new GpuCommandBufferMsg_SetLatencyInfo(route_id_, merged_latency));
|
| + Send(new GpuCommandBufferMsg_SetLatencyInfo(route_id_, latency_info));
|
| }
|
|
|
| gpu::CommandBuffer::State CommandBufferProxyImpl::FlushSync(
|
|
|