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 c5933f563bf89a604d9bee463d9c0cf02683d54d..7b27d5f8e4d577d4ae3198ecab6edf4ee5886f76 100644 |
--- a/content/browser/renderer_host/render_widget_host_impl.h |
+++ b/content/browser/renderer_host/render_widget_host_impl.h |
@@ -537,8 +537,11 @@ class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost, |
const WebKit::WebMouseWheelEvent& wheel_event, |
const ui::LatencyInfo& latency_info); |
- // Create a LatencyInfo struct for a new input event that was just received. |
- ui::LatencyInfo NewInputLatencyInfo(); |
+ // Create a LatencyInfo struct with INPUT_EVENT_LATENCY_RWH_COMPONENT |
+ // component if it is not already in |original|. And if |original| is |
+ // not NULL, it is also merged into the resulting LatencyInfo. |
+ ui::LatencyInfo CreateRWHLatencyInfoIfNotExist( |
+ const ui::LatencyInfo* original); |
// Called when we receive a notification indicating that the renderer |
// process has gone. This will reset our state so that our state will be |