Index: src/effects/SkComposeImageFilter.cpp |
diff --git a/src/effects/SkComposeImageFilter.cpp b/src/effects/SkComposeImageFilter.cpp |
index 9bec5009760e406c5403cb6d0db0ad7d23048d3b..4a17e152de704d7b0369ea9ba3f2c731632ea0ec 100644 |
--- a/src/effects/SkComposeImageFilter.cpp |
+++ b/src/effects/SkComposeImageFilter.cpp |
@@ -40,3 +40,20 @@ SkFlattenable* SkComposeImageFilter::CreateProc(SkReadBuffer& buffer) { |
SK_IMAGEFILTER_UNFLATTEN_COMMON(common, 2); |
return SkComposeImageFilter::Create(common.getInput(0), common.getInput(1)); |
} |
+ |
+#ifndef SK_IGNORE_TO_STRING |
+void SkComposeImageFilter::toString(SkString* str) const { |
+ SkImageFilter* outer = getInput(0); |
+ SkImageFilter* inner = getInput(1); |
+ |
+ str->appendf("SkComposeImageFilter: ("); |
+ |
+ str->appendf("outer: "); |
+ outer->toString(str); |
+ |
+ str->appendf("inner: "); |
+ inner->toString(str); |
+ |
+ str->appendf(")"); |
+} |
+#endif |