commit | 52e4fd98b5c6b296e4598f3243a891bc76715590 | [log] [tgz] |
---|---|---|
author | Ben Wagner <bungeman@google.com> | Tue Jul 11 14:39:36 2017 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Wed Jul 12 02:40:35 2017 +0000 |
tree | 9c14fa544a6d6d2b628364cf2c157794775a074c | |
parent | 51b2f1b64c4d250e15b33ea390b4a95c50afc5dd [diff] |
Check first deserialized verb of path is a move. SkPathRef::Iter::next and several other bits of code depend on the first verb of a path always being a move. Contructors and builders currently enforce this, so the deserializer must do so also. BUG=chromium:740789 Change-Id: Iad0f6fc6d2b2fe40064c674fa7dd1612c120bb8f Reviewed-on: https://skia-review.googlesource.com/22216 Commit-Queue: Ben Wagner <bungeman@google.com> Reviewed-by: Mike Reed <reed@google.com>