cc: Allow serialization failure for paths. We currently assume that a path will always serialize to a non-zero size, and so we should always get a valid path at deserialization. But SkPath may return a zero size indicating that the given path can not be serialized. Account for that and just bail out serializing this path. R=enne@chromium.org Bug: 924042 Change-Id: I467003ea90efd5915b24b032d079bde2c3c5cacd Reviewed-on: https://chromium-review.googlesource.com/c/1481084 Commit-Queue: Khushal <khushalsagar@chromium.org> Reviewed-by: enne <enne@chromium.org> Cr-Commit-Position: refs/heads/master@{#634901}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .