commit | fab1ddd3a8893db58b2ce0afd28ecc73412ee871 | [log] [tgz] |
---|---|---|
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Fri Apr 20 15:10:32 2012 +0000 |
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Fri Apr 20 15:10:32 2012 +0000 |
tree | 7a3dfc4e59baf0e3e51507d3f48bc1cebfd71ca2 | |
parent | d6195f956fdccef865224520a624e3fd968573d0 [diff] |
only add pathmeasure segment if the accumulated length was actually changed, and not based on if the local length was > 0. This is necessary since assert(delta > 0); // true prevDistance = distance; distance += delta; assert(distance > prevDistance); // not always true Fixes https://bugs.webkit.org/show_bug.cgi?id=78979 git-svn-id: http://skia.googlecode.com/svn/trunk@3739 2bbb7eff-a529-9590-31e7-b0007b416f81