protect PathMeasure against input paths with NaNs

found by fuzzer

R=kjlubick@google.com
Bug: skia:
Change-Id: Ifde8706a7ca6fad785a1b0b50f3df3fb099c0e36
Reviewed-on: https://skia-review.googlesource.com/114477
Reviewed-by: Kevin Lubick <kjlubick@google.com>
Commit-Queue: Cary Clark <caryclark@skia.org>
1 file changed