Index: content/browser/renderer_host/render_widget_host_impl.h |
diff --git a/content/browser/renderer_host/render_widget_host_impl.h b/content/browser/renderer_host/render_widget_host_impl.h |
index 0a6e183438e289b7bc0eddefadefd0cda36c0fca..8842da72669e7904633218d6b09a70b4fb899a76 100644 |
--- a/content/browser/renderer_host/render_widget_host_impl.h |
+++ b/content/browser/renderer_host/render_widget_host_impl.h |
@@ -550,6 +550,11 @@ class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost, |
gfx::Size snapshot_size, |
scoped_refptr<base::RefCountedBytes> png_data); |
+ // LatencyComponents generated in the renderer must have component IDs |
+ // provided to them by the browser process. This function adds the correct |
+ // component ID where necessary. |
+ void AddLatencyInfoComponentIds(ui::LatencyInfo* latency_info); |
+ |
protected: |
virtual RenderWidgetHostImpl* AsRenderWidgetHostImpl() OVERRIDE; |