Hopefully work around an MD downloads crash by suppressing zero-size drag components.
Chrome is experiencing crashes like this when a download is dragged: > [Uncaught NSException] CALayerInvalidGeometry reason CALayer position > contains NaN: [nan nan] They started when I touched the dragging code at r545861 and, based on some research, the probable cause is a zero-size component. I haven't been able to trigger this locally so I'm guarding both of them. Bug: 826632 Change-Id: I0e7c7acdd5a84dca8f0771aafab58987553b10e9 Reviewed-on: https://chromium-review.googlesource.com/1008502Reviewed-by:Leonard Grey <lgrey@chromium.org> Commit-Queue: Sidney San Martín <sdy@chromium.org> Cr-Commit-Position: refs/heads/master@{#549973}
Showing
Please register or sign in to comment