DescriptionImprove DCHECK in PropertyTree::UpdateSnapping
We DCHECK that the snap matrix is indentity or a 2D translation, but the
computation of this matrix is prone to floating point error, so an
approximate check makes more sense here.
BUG=None
Committed: https://crrev.com/e44d0bb8e278e241157df15962d138f03521d512
Cr-Commit-Position: refs/heads/master@{#324247}
Patch Set 1 #Patch Set 2 : SkDoubleToMScalar #Messages
Total messages: 11 (5 generated)
|