Make SkPath::readFromMemory failure silent

It currently asserts, but should instead silently fail.  Otherwise,
without asserts turned on, this would leave the SkPath in an
inconsistent state.

Bug: chromium: 767770
Change-Id: Ib2af4caccfe19a4a008abccfe7b25b80ccf23146
Reviewed-on: https://skia-review.googlesource.com/50160
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Reed <reed@google.com>
1 file changed