DescriptionAdded early out for pinch to prevent crash when no inner scroll layer.
The layer tree seems to receive gesture events before it's initialized
(or while being destroyed). This means the pinch events get executed
while InnerViewportScrollLayer() == NULL, which was assumed to be non
NULL. The event handler should probably not be sending events to an
uninitialized layer tree but in the mean time I've disabled the
DCHECK and added an early out to prevent crashes.
BUG=340303
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=252205
Patch Set 1 #
Total comments: 2
Patch Set 2 : Removed checks from PinchBegin/End #Messages
Total messages: 13 (0 generated)
|