Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1221)

Unified Diff: content/browser/renderer_host/render_widget_host_impl.h

Issue 140663003: Removed requirement for the renderer to know it's process ID (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressing feedback from jbauman@ Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698