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 5d4560615193a69c3b503a0bb775e30bbcec0ebe..8d0a517f867d3bdb72f5fd2c6141d8cedcf5552f 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); |
+ // Some LatencyComponents generated in the renderer, specifically |
+ // WINDOW_SNAPSHOT_FRAME_NUMBER_COMPONENTs, have NULL component IDs. |
+ // This function patches them with the correct value. |
+ void FixMissingLatencyInfoComponentIds(ui::LatencyInfo& latency_info); |
jbauman
2014/01/17 00:26:13
Technically, this should be a pointer, not a refer
jam
2014/01/17 01:27:27
yep according to style guide it has to be a pointe
|
+ |
protected: |
virtual RenderWidgetHostImpl* AsRenderWidgetHostImpl() OVERRIDE; |