Fix typo when updating code

This commit is contained in:
Cheng Zhao 2017-04-25 08:51:47 +09:00
parent cbd3b054cb
commit 301ed2d66c

View file

@ -280,7 +280,7 @@ bool Converter<blink::WebMouseWheelEvent>::FromV8(
bool can_scroll = true;
if (dict.Get("canScroll", &can_scroll) && !can_scroll) {
out->hasPreciseScrollingDeltas = false;
out->setModifiers(out->modifiers() | blink::WebInputEvent::ControlKey);
out->setModifiers(out->modifiers() & ~blink::WebInputEvent::ControlKey);
}
#endif
return true;