commit | c1216071221920c32590524bcd44ff967ed8e529 | [log] [tgz] |
---|---|---|
author | bsalomon <bsalomon@google.com> | Tue May 10 11:57:04 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Tue May 10 11:57:04 2016 -0700 |
tree | ef3347db61070d40bc5cc35292c47457fe6f1174 | |
parent | 1e42775df95a6d55634c18a048dbee4379e1f688 [diff] [blame] |
Fix nvpr path renderer to reject styles with nonDashPathEffects. TBR=robertphillips@google.com GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1965903002 NOTRY=true Review-Url: https://codereview.chromium.org/1965903002
diff --git a/src/gpu/batches/GrStencilAndCoverPathRenderer.cpp b/src/gpu/batches/GrStencilAndCoverPathRenderer.cpp index 9d8d07d..ddba1c8 100644 --- a/src/gpu/batches/GrStencilAndCoverPathRenderer.cpp +++ b/src/gpu/batches/GrStencilAndCoverPathRenderer.cpp
@@ -33,7 +33,7 @@ bool GrStencilAndCoverPathRenderer::onCanDrawPath(const CanDrawPathArgs& args) const { // GrPath doesn't support hairline paths. Also, an arbitrary path effect could change // the style type to hairline. - if (!args.fStyle->hasNonDashPathEffect() || args.fStyle->strokeRec().isHairlineStyle()) { + if (args.fStyle->hasNonDashPathEffect() || args.fStyle->strokeRec().isHairlineStyle()) { return false; } if (!args.fIsStencilDisabled) {