aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental
diff options
context:
space:
mode:
Diffstat (limited to 'experimental')
-rw-r--r--experimental/svg/model/SkSVGNode.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/experimental/svg/model/SkSVGNode.cpp b/experimental/svg/model/SkSVGNode.cpp
index e081c04a3f..60c0948244 100644
--- a/experimental/svg/model/SkSVGNode.cpp
+++ b/experimental/svg/model/SkSVGNode.cpp
@@ -189,11 +189,9 @@ void SkSVGNode::onSetAttribute(SkSVGAttribute attr, const SkSVGValue& v) {
}
break;
default:
- static bool attrIgnored = false;
- if (!attrIgnored) {
- SkDebugf("attribute ID <%d> ignored for node <%d>\n", attr, fTag);
- attrIgnored = true;
- }
+#if defined(SK_VERBOSE_SVG_PARSING)
+ SkDebugf("attribute ID <%d> ignored for node <%d>\n", attr, fTag);
+#endif
break;
}
}