fix mouse wheel event sending typo

This commit is contained in:
Heilig Benedek 2017-03-05 16:20:32 +01:00
parent 8f546313b6
commit bccc25165d

View file

@ -1441,7 +1441,7 @@ void WebContents::SendInputEvent(v8::Isolate* isolate,
} else if (type == blink::WebInputEvent::MouseWheel) { } else if (type == blink::WebInputEvent::MouseWheel) {
blink::WebMouseWheelEvent mouse_wheel_event; blink::WebMouseWheelEvent mouse_wheel_event;
if (mate::ConvertFromV8(isolate, input_event, &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; return;
} }
} }