| Index: content/browser/frame_host/cross_process_frame_connector.cc
|
| diff --git a/content/browser/frame_host/cross_process_frame_connector.cc b/content/browser/frame_host/cross_process_frame_connector.cc
|
| index 6002fcaa6b18e3707e4430c4cdf62f085f4adbc6..dca44d570343cfe78b1ef34110ce6a3671eaf61b 100644
|
| --- a/content/browser/frame_host/cross_process_frame_connector.cc
|
| +++ b/content/browser/frame_host/cross_process_frame_connector.cc
|
| @@ -172,7 +172,9 @@ void CrossProcessFrameConnector::BubbleScrollEvent(
|
| memcpy(&resent_wheel_event, &event, sizeof(resent_wheel_event));
|
| resent_wheel_event.x += offset_from_parent.x();
|
| resent_wheel_event.y += offset_from_parent.y();
|
| - parent_view->ProcessMouseWheelEvent(resent_wheel_event);
|
| + // TODO(crbug.com/613628): Initialize latency info correctly for OOPIFs.
|
| + ui::LatencyInfo latency_info;
|
| + parent_view->ProcessMouseWheelEvent(resent_wheel_event, latency_info);
|
| } else {
|
| NOTIMPLEMENTED();
|
| }
|
| @@ -217,13 +219,18 @@ void CrossProcessFrameConnector::OnForwardInputEvent(
|
| }
|
|
|
| if (blink::WebInputEvent::isMouseEventType(event->type)) {
|
| - view_->ProcessMouseEvent(*static_cast<const blink::WebMouseEvent*>(event));
|
| + // TODO(crbug.com/613628): Initialize latency info correctly for OOPIFs.
|
| + ui::LatencyInfo latency_info;
|
| + view_->ProcessMouseEvent(*static_cast<const blink::WebMouseEvent*>(event),
|
| + latency_info);
|
| return;
|
| }
|
|
|
| if (event->type == blink::WebInputEvent::MouseWheel) {
|
| + // TODO(crbug.com/613628): Initialize latency info correctly for OOPIFs.
|
| + ui::LatencyInfo latency_info;
|
| view_->ProcessMouseWheelEvent(
|
| - *static_cast<const blink::WebMouseWheelEvent*>(event));
|
| + *static_cast<const blink::WebMouseWheelEvent*>(event), latency_info);
|
| return;
|
| }
|
| }
|
|
|