Index: content/renderer/input/input_event_filter.cc |
diff --git a/content/renderer/input/input_event_filter.cc b/content/renderer/input/input_event_filter.cc |
index 4b1f4b3325489fc5282184fa3561d531c3a47778..c20879819119fe52605f76cbd25e0573ea8c5e45 100644 |
--- a/content/renderer/input/input_event_filter.cc |
+++ b/content/renderer/input/input_event_filter.cc |
@@ -10,6 +10,7 @@ |
#include "base/location.h" |
#include "base/message_loop/message_loop_proxy.h" |
#include "cc/input/input_handler.h" |
+#include "content/common/input/did_overscroll_params.h" |
#include "content/common/input/web_input_event_traits.h" |
#include "content/common/input_messages.h" |
#include "content/common/view_messages.h" |
@@ -66,10 +67,11 @@ |
} |
void InputEventFilter::DidOverscroll(int routing_id, |
- const cc::DidOverscrollParams& params) { |
+ const DidOverscrollParams& params) { |
if (!overscroll_notifications_enabled_) |
return; |
+ // TODO(jdduke): Use |params| as the sole message argument, crbug/354444. |
SendMessage(ViewHostMsg_DidOverscroll(routing_id, |
params.accumulated_overscroll, |
params.current_fling_velocity)); |