commit | 6c3baa66fa38349917783dde1ff2ee21684619fb | [log] [tgz] |
---|---|---|
author | bungeman <bungeman@google.com> | Fri Sep 16 07:21:28 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Fri Sep 16 07:21:28 2016 -0700 |
tree | d952c6437fb95ef1f296467577e133a20be1cdfc | |
parent | 40efbe85525a4dceefb1ce46c036c01813492602 [diff] |
Make Sk2DPathEffect thread safe. SkPathEffects must be thread safe, but SkMatrix is only thread safe if the type mask has already been computed. The constructor for Sk2DPathEffect is currently making the call to 'invert' which sets the type mask, but it is being called with the passed matrix as opposed to the local copy. BUG=skia:5765 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2340133004 Review-Url: https://codereview.chromium.org/2340133004