Index: gpu/ipc/client/command_buffer_proxy_impl.cc |
diff --git a/gpu/ipc/client/command_buffer_proxy_impl.cc b/gpu/ipc/client/command_buffer_proxy_impl.cc |
index 7e342392ff51d7a591c5d3647019b6fc3d91b8da..61da04a75eee15610827b5510baa7beea071e9c4 100644 |
--- a/gpu/ipc/client/command_buffer_proxy_impl.cc |
+++ b/gpu/ipc/client/command_buffer_proxy_impl.cc |
@@ -318,13 +318,6 @@ void CommandBufferProxyImpl::OrderingBarrier(int32_t put_offset) { |
} |
} |
-void CommandBufferProxyImpl::SetLatencyInfo( |
- const std::vector<ui::LatencyInfo>& latency_info) { |
- CheckLock(); |
- for (size_t i = 0; i < latency_info.size(); i++) |
- latency_info_.push_back(latency_info[i]); |
-} |
- |
void CommandBufferProxyImpl::SetSwapBuffersCompletionCallback( |
const SwapBuffersCompletionCallback& callback) { |
CheckLock(); |
@@ -687,6 +680,13 @@ bool CommandBufferProxyImpl::CanWaitUnverifiedSyncToken( |
return true; |
} |
+void CommandBufferProxyImpl::AddLatencyInfo( |
+ const std::vector<ui::LatencyInfo>& latency_info) { |
+ CheckLock(); |
+ for (size_t i = 0; i < latency_info.size(); i++) |
+ latency_info_.push_back(latency_info[i]); |
+} |
+ |
void CommandBufferProxyImpl::SignalQuery(uint32_t query, |
const base::Closure& callback) { |
CheckLock(); |