| Index: content/browser/web_contents/web_contents_impl.cc
|
| diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
|
| index a765509ab267c2910635e57728031b46d1b37006..730737658dc6278ce058d87d3f811811f4bd673c 100644
|
| --- a/content/browser/web_contents/web_contents_impl.cc
|
| +++ b/content/browser/web_contents/web_contents_impl.cc
|
| @@ -1763,8 +1763,7 @@ bool WebContentsImpl::HandleWheelEvent(
|
| // (i.e. control+tab) then the OS's buffered scroll events will come in
|
| // with control key set which isn't what the user wants
|
| if (delegate_ && event.wheelTicksY &&
|
| - (event.modifiers & blink::WebInputEvent::ControlKey) &&
|
| - !event.canScroll) {
|
| + !WebInputEventTraits::ShouldCauseScroll(event)) {
|
| // Count only integer cumulative scrolls as zoom events; this handles
|
| // smooth scroll and regular scroll device behavior.
|
| zoom_scroll_remainder_ += event.wheelTicksY;
|
|
|