Index: src/effects/SkMorphologyImageFilter.cpp |
diff --git a/src/effects/SkMorphologyImageFilter.cpp b/src/effects/SkMorphologyImageFilter.cpp |
index d533448fe00ff6d99fabf0c9316705f73a968018..d18dc394eb93072545664650eca13d5fa3a0f344 100644 |
--- a/src/effects/SkMorphologyImageFilter.cpp |
+++ b/src/effects/SkMorphologyImageFilter.cpp |
@@ -264,6 +264,22 @@ SkFlattenable* SkDilateImageFilter::CreateProc(SkReadBuffer& buffer) { |
return Create(width, height, common.getInput(0), &common.cropRect(), common.uniqueID()); |
} |
+#ifndef SK_IGNORE_TO_STRING |
+void SkErodeImageFilter::toString(SkString* str) const { |
+ str->appendf("SkErodeImageFilter: ("); |
+ str->appendf("radius: (%d,%d)", this->radius().fWidth, this->radius().fHeight); |
+ str->append(")"); |
+} |
+#endif |
+ |
+#ifndef SK_IGNORE_TO_STRING |
+void SkDilateImageFilter::toString(SkString* str) const { |
+ str->appendf("SkDilateImageFilter: ("); |
+ str->appendf("radius: (%d,%d)", this->radius().fWidth, this->radius().fHeight); |
+ str->append(")"); |
+} |
+#endif |
+ |
#if SK_SUPPORT_GPU |
/////////////////////////////////////////////////////////////////////////////// |