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..59c73e3242ea7aafadf9dbed416eade01118fcf3 100644 |
--- a/content/common/gpu/client/gpu_channel_host.cc |
+++ b/content/common/gpu/client/gpu_channel_host.cc |
@@ -214,6 +214,14 @@ void GpuChannelHost::DestroyCommandBuffer( |
#endif |
} |
+bool GpuChannelHost::CollectRenderingStatsForSurface( |
+ int surface_id, content::GpuRenderingStats* stats) { |
+ TRACE_EVENT0("gpu", "GpuChannelHost::CollectRenderingStats"); |
+ |
+ return Send(new GpuChannelMsg_CollectRenderingStatsForSurface(surface_id, |
+ stats)); |
+} |
+ |
void GpuChannelHost::AddRoute( |
int route_id, base::WeakPtr<IPC::Listener> listener) { |
DCHECK(MessageLoopProxy::current()); |