Chromium Code Reviews
DescriptionFixes pinch-to-zoom when linking against the 10.11 SDK or newer.
When linking against the 10.11 SDK or newer, the OS will no longer directly call
|beginGestureWithEvent:| or |endGestureWithEvent:|. Instead, applications must
check the event's phase inside of |magnifyWithEvent:|. Earlier OS versions will
still call the old methods, regardless of which SDK is used.
This CL adds both compile-time and runtime checks to ensure that the "begin" and
"end" helper methods are called exactly once per gesture.
BUG=680927
Patch Set 1 #Patch Set 2 : Fix comment. #Patch Set 3 : Test #
Messages
Total messages: 8 (8 generated)
|
||||||||||||||||||||||||||||