Change-Id: Ia3e0d35ed48b3c04c2408ca24d48bf43c32cc54c
if (parent->stroke.paint.url) {
if (child->stroke.paint.url) free(child->stroke.paint.url);
child->stroke.paint.url = _copyId(parent->stroke.paint.url);
- } else {
- child->stroke.paint.url = nullptr;
}
}
if (!((int)child->stroke.flags & (int)SvgStrokeFlags::Opacity)) {
if (from->stroke.paint.url) {
if (to->stroke.paint.url) free(to->stroke.paint.url);
to->stroke.paint.url = _copyId(from->stroke.paint.url);
- } else {
- to->stroke.paint.url = nullptr;
}
}
if (((int)from->stroke.flags & (int)SvgStrokeFlags::Opacity)) {