diff options
Diffstat (limited to 'experimental/svg/model/SkSVGNode.cpp')
-rw-r--r-- | experimental/svg/model/SkSVGNode.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/experimental/svg/model/SkSVGNode.cpp b/experimental/svg/model/SkSVGNode.cpp index f40ee5dadb..012c7d2277 100644 --- a/experimental/svg/model/SkSVGNode.cpp +++ b/experimental/svg/model/SkSVGNode.cpp @@ -31,8 +31,7 @@ bool SkSVGNode::asPaint(const SkSVGRenderContext& ctx, SkPaint* paint) const { } bool SkSVGNode::onPrepareToRender(SkSVGRenderContext* ctx) const { - ctx->applyPresentationAttributes(fPresentationAttributes, - this->hasChildren() ? 0 : SkSVGRenderContext::kLeaf); + ctx->applyPresentationAttributes(fPresentationAttributes); return true; } |