REGRESSION (r191299): Zoom gestures are enabled even if allowsMagnification=NO
authortimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 17 Dec 2015 03:04:11 +0000 (03:04 +0000)
committertimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 17 Dec 2015 03:04:11 +0000 (03:04 +0000)
commit38ffa4cdc34ac38c64d30028bfc3ae1919881153
treeec865014b293eaced2420b455c9933d675ec52c4
parent8d07ead7aea6f01fc442b0894aee0ee2cbaa42c2
REGRESSION (r191299): Zoom gestures are enabled even if allowsMagnification=NO
https://bugs.webkit.org/show_bug.cgi?id=152373
<rdar://problem/23931998>

Reviewed by Simon Fraser.

* UIProcess/Cocoa/WebViewImpl.mm:
(WebKit::WebViewImpl::gestureEventWasNotHandledByWebCoreFromViewOnly):
Don't pass the event on to ViewGestureController if we shouldn't handle it,
just like we would have done in magnifyWithEvent before.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@194205 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/Cocoa/WebViewImpl.mm