diff options
Diffstat (limited to 'experimental/svg/model/SkSVGNode.cpp')
-rw-r--r-- | experimental/svg/model/SkSVGNode.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/experimental/svg/model/SkSVGNode.cpp b/experimental/svg/model/SkSVGNode.cpp index 2b891792fd..58e0ad4989 100644 --- a/experimental/svg/model/SkSVGNode.cpp +++ b/experimental/svg/model/SkSVGNode.cpp @@ -40,12 +40,12 @@ void SkSVGNode::setAttribute(SkSVGAttribute attr, const SkSVGValue& v) { void SkSVGNode::onSetAttribute(SkSVGAttribute attr, const SkSVGValue& v) { switch (attr) { - case SkSVGAttribute::fill: + case SkSVGAttribute::kFill: if (const SkSVGColorValue* color = v.as<SkSVGColorValue>()) { fPresentationAttributes.setFill(*color); } break; - case SkSVGAttribute::stroke: + case SkSVGAttribute::kStroke: if (const SkSVGColorValue* color = v.as<SkSVGColorValue>()) { fPresentationAttributes.setStroke(*color); } |