Index: experimental/svg/model/SkSVGNode.cpp |
diff --git a/experimental/svg/model/SkSVGNode.cpp b/experimental/svg/model/SkSVGNode.cpp |
index f40ee5dadb16896795cf991ff3eb6e2cdeb587f2..012c7d22779bff7db48bb26fe90c6c0d7a24dce6 100644 |
--- a/experimental/svg/model/SkSVGNode.cpp |
+++ b/experimental/svg/model/SkSVGNode.cpp |
@@ -31,8 +31,7 @@ |
} |
bool SkSVGNode::onPrepareToRender(SkSVGRenderContext* ctx) const { |
- ctx->applyPresentationAttributes(fPresentationAttributes, |
- this->hasChildren() ? 0 : SkSVGRenderContext::kLeaf); |
+ ctx->applyPresentationAttributes(fPresentationAttributes); |
return true; |
} |