Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8242)

Unified Diff: experimental/svg/model/SkSVGNode.cpp

Issue 2202053002: [SVGDom/experimental] Initial SVGLength support (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: review Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « experimental/svg/model/SkSVGNode.h ('k') | experimental/svg/model/SkSVGPath.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/svg/model/SkSVGNode.cpp
diff --git a/experimental/svg/model/SkSVGNode.cpp b/experimental/svg/model/SkSVGNode.cpp
index 58e0ad49893287bc27358a81ec5c9617d7fcfd6a..eb82834f38cb99ed2141a3812c9ada03f37f100b 100644
--- a/experimental/svg/model/SkSVGNode.cpp
+++ b/experimental/svg/model/SkSVGNode.cpp
@@ -16,10 +16,6 @@ SkSVGNode::SkSVGNode(SkSVGTag t) : fTag(t) { }
SkSVGNode::~SkSVGNode() { }
-void SkSVGNode::render(SkCanvas* canvas) const {
- this->render(canvas, SkSVGRenderContext());
-}
-
void SkSVGNode::render(SkCanvas* canvas, const SkSVGRenderContext& ctx) const {
SkTCopyOnFirstWrite<SkSVGRenderContext> localContext(ctx);
fPresentationAttributes.applyTo(localContext);
@@ -51,6 +47,7 @@ void SkSVGNode::onSetAttribute(SkSVGAttribute attr, const SkSVGValue& v) {
}
break;
default:
+ SkDebugf("attribute ID <%d> ignored for node <%d>\n", attr, fTag);
break;
}
}
« no previous file with comments | « experimental/svg/model/SkSVGNode.h ('k') | experimental/svg/model/SkSVGPath.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698