| commit | 8f4c8e6d2f1260d68f387b37f078457e4153bbb4 | [log] [tgz] |
|---|---|---|
| author | fmalita <fmalita@chromium.org> | Fri Jul 22 21:34:39 2016 |
| committer | Commit bot <commit-bot@chromium.org> | Fri Jul 22 21:38:12 2016 |
| tree | 1f34149b460ed7dd99defbca8d9949305a46657a | |
| parent | 4d8e12dfcba44dd61352161c80825719108021a8 [diff] |
Compute exact bounds for SVGPathElement::getBBox() The current implementation relies on SkPath::getBounds(), which computes a conservative result (includes control points). Use SkPathOps::TightBounds() instead, for an exact answer. BUG=230599 R=fs@opera.com,pdr@chromium.org,schenney@chromium.org,caryclark@google.com Review-Url: https://codereview.chromium.org/2168133002 Cr-Commit-Position: refs/heads/master@{#407268}