Index: content/common/gpu/client/gpu_channel_host.cc |
diff --git a/content/common/gpu/client/gpu_channel_host.cc b/content/common/gpu/client/gpu_channel_host.cc |
index b225a3ad11c110e2d8b3183d837edb291b425db7..25d62c5f42b54db5b4036d86cdb953f30ff5c2bb 100644 |
--- a/content/common/gpu/client/gpu_channel_host.cc |
+++ b/content/common/gpu/client/gpu_channel_host.cc |
@@ -214,6 +214,16 @@ void GpuChannelHost::DestroyCommandBuffer( |
#endif |
} |
+bool GpuChannelHost::CollectRenderingStats( |
+ int route_id, content::GpuRenderingStats* stats) { |
+ TRACE_EVENT0("gpu", "GpuChannelHost::CollectRenderingStats"); |
+ |
+ if (!Send(new GpuChannelMsg_CollectRenderingStats(route_id, stats))) |
+ return false; |
+ |
+ return true; |
+} |
+ |
void GpuChannelHost::AddRoute( |
int route_id, base::WeakPtr<IPC::Listener> listener) { |
DCHECK(MessageLoopProxy::current()); |