skia2/include
Cary Clark 689d02d4b4 harden pathmeasure and fix empty case
change int to unsigned (just make it uniform,
part of it was already unsigned)

change path by pointer to path by value
since it will be copied on write; fixes bug
where path changes from underneath measure

Allow empty paths to still initialize measure state.
This fixes the GM failure from the earlier check-in attempt
in CL 113269.

R=reed@google.com
Bug: skia:7675
Change-Id: I6296bbf75296ead826e54662b025277dd226e2b8
Reviewed-on: https://skia-review.googlesource.com/113246
Commit-Queue: Mike Reed <reed@google.com>
Reviewed-by: Mike Reed <reed@google.com>
2018-03-12 14:26:28 +00:00
..
android Simplify SkAnimatedImage 2018-01-30 18:46:35 +00:00
atlastext Add matrix stack to SkAtlasTextTarget. 2017-12-20 14:00:44 +00:00
c C API: document sk_matrix_t 2017-03-21 18:04:34 +00:00
codec Make SkAndroidCodec (optionally) respect origin 2018-01-26 22:13:34 +00:00
config Revert "Revert "SkUserConfig.h: remove out-of-date comment on SK_SFNTLY_SUBSETTER"" 2017-01-27 14:40:01 +00:00
core harden pathmeasure and fix empty case 2018-03-12 14:26:28 +00:00
effects Extend SkTrimPathEffect semantics 2018-03-12 14:07:28 +00:00
encode Revert "Add an Option for orientation on JPEG encodes" 2017-10-18 18:09:47 +00:00
gpu Add GrMockRenderTarget and mock backend render targets 2018-03-09 22:32:14 +00:00
pathops Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
ports removed dead code behind legacy fontmgr api flag 2017-10-11 15:18:57 +00:00
private Add ability to uninstantiate lazy proxies after every flush. 2018-03-08 21:05:21 +00:00
svg Add a SkWStream-based SkSVGCanvas factory 2017-09-19 20:33:19 +00:00
utils Remove SkDumpCanvas 2018-03-10 03:29:54 +00:00
views [Viewer] Preserve gesture transformation matrix on slide/backend change 2018-01-05 18:18:39 +00:00