Fix DistanceFieldPathRenderer assert.
authorJim Van Verth <jvanverth@google.com>
Thu, 16 Feb 2017 15:01:46 +0000 (10:01 -0500)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Thu, 16 Feb 2017 15:37:53 +0000 (15:37 +0000)
commitd25cc9b54842271a14450f81c238ea6d27abdd90
tree12b101b8edd18ffffc75d964107e0868844337a0
parent3befb84efc3deba472849d76af96c6f56060b918
Fix DistanceFieldPathRenderer assert.

If there's a reflection in the matrix, the scales
could be negative.

BUG=chromium:682918

Change-Id: Ifde42c3bc8b1f2938009b47d3a8380cf871448e9
Reviewed-on: https://skia-review.googlesource.com/8541
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Commit-Queue: Jim Van Verth <jvanverth@google.com>
src/gpu/ops/GrAADistanceFieldPathRenderer.cpp