Make sure path computed from stroke-rec application using GrStyle is volatile.
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2099313002 Review-Url: https://codereview.chromium.org/2099313002
This commit is contained in:
parent
ee43241d72
commit
b85e63d6ec
@ -178,6 +178,7 @@ bool GrStyle::applyToPath(SkPath* dst, SkStrokeRec::InitStyle* style, const SkPa
|
||||
if (!strokeRec.applyToPath(dst, *pathForStrokeRec)) {
|
||||
return false;
|
||||
}
|
||||
dst->setIsVolatile(true);
|
||||
*style = SkStrokeRec::kFill_InitStyle;
|
||||
} else if (!fPathEffect) {
|
||||
// Nothing to do for path effect or stroke, fail.
|
||||
|
Loading…
Reference in New Issue
Block a user