Index: experimental/svg/model/SkSVGPath.cpp |
diff --git a/experimental/svg/model/SkSVGPath.cpp b/experimental/svg/model/SkSVGPath.cpp |
index ba5e3d62ba97cb3b0feb7088802a0bc76e1e7d24..7d905945bc0d9303e69e877dbd80aa816e88e7f6 100644 |
--- a/experimental/svg/model/SkSVGPath.cpp |
+++ b/experimental/svg/model/SkSVGPath.cpp |
@@ -11,7 +11,7 @@ |
#include "SkSVGRenderContext.h" |
#include "SkSVGValue.h" |
-SkSVGPath::SkSVGPath() : INHERITED(SkSVGTag::path) { } |
+SkSVGPath::SkSVGPath() : INHERITED(SkSVGTag::kPath) { } |
void SkSVGPath::doRender(SkCanvas* canvas, const SkPaint* paint) const { |
if (paint) { |
@@ -26,7 +26,7 @@ void SkSVGPath::onRender(SkCanvas* canvas, const SkSVGRenderContext& ctx) const |
void SkSVGPath::onSetAttribute(SkSVGAttribute attr, const SkSVGValue& v) { |
switch (attr) { |
- case SkSVGAttribute::d: |
+ case SkSVGAttribute::kD: |
if (const auto* path = v.as<SkSVGPathValue>()) { |
this->setPath(*path); |
} |