Index: gm/dcshader.cpp |
diff --git a/gm/dcshader.cpp b/gm/dcshader.cpp |
index c08923f4c38780f0121c581e5659fdd53b0302e0..1f5969bd3c6eefee456ea3d09bd565e076d9b25e 100644 |
--- a/gm/dcshader.cpp |
+++ b/gm/dcshader.cpp |
@@ -36,6 +36,13 @@ public: |
bool asFragmentProcessor(GrContext*, const SkPaint& paint, const SkMatrix& viewM, |
const SkMatrix* localMatrix, GrColor* color, |
GrFragmentProcessor** fp) const SK_OVERRIDE; |
+ |
+#ifndef SK_IGNORE_TO_STRING |
+ void toString(SkString* str) const SK_OVERRIDE { |
+ str->appendf("DCShader: ()"); |
+ } |
+#endif |
+ |
private: |
const SkMatrix fDeviceMatrix; |
}; |