Index: src/effects/SkCornerPathEffect.cpp |
diff --git a/src/effects/SkCornerPathEffect.cpp b/src/effects/SkCornerPathEffect.cpp |
index 31f55a3901e22b5502e843d78d5c709ccd484d04..79d4c4cbd3a1710d1bea4f3e56a10a5d1328d834 100644 |
--- a/src/effects/SkCornerPathEffect.cpp |
+++ b/src/effects/SkCornerPathEffect.cpp |
@@ -146,3 +146,11 @@ SkFlattenable* SkCornerPathEffect::CreateProc(SkReadBuffer& buffer) { |
void SkCornerPathEffect::flatten(SkWriteBuffer& buffer) const { |
buffer.writeScalar(fRadius); |
} |
+ |
+#ifndef SK_IGNORE_TO_STRING |
+void SkCornerPathEffect::toString(SkString* str) const { |
+ str->appendf("SkCornerPathEffect: ("); |
+ str->appendf("radius: %.2f", fRadius); |
+ str->appendf(")"); |
+} |
+#endif |