From bccc25165d1d7d9745eb29643ab99e850a34eb25 Mon Sep 17 00:00:00 2001 From: Heilig Benedek Date: Sun, 5 Mar 2017 16:20:32 +0100 Subject: [PATCH] fix mouse wheel event sending typo --- atom/browser/api/atom_api_web_contents.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atom/browser/api/atom_api_web_contents.cc b/atom/browser/api/atom_api_web_contents.cc index b6fb523c161..880cdddedf3 100644 --- a/atom/browser/api/atom_api_web_contents.cc +++ b/atom/browser/api/atom_api_web_contents.cc @@ -1441,7 +1441,7 @@ void WebContents::SendInputEvent(v8::Isolate* isolate, } else if (type == blink::WebInputEvent::MouseWheel) { blink::WebMouseWheelEvent mouse_wheel_event; if (mate::ConvertFromV8(isolate, input_event, &mouse_wheel_event)) { - view->ProcessMouseEvent(mouse_wheel_event, ui::LatencyInfo()); + view->ProcessMouseWheelEvent(mouse_wheel_event, ui::LatencyInfo()); return; } }