Index: src/utils/SkDumpCanvas.cpp |
diff --git a/src/utils/SkDumpCanvas.cpp b/src/utils/SkDumpCanvas.cpp |
index 5f3a572ab92ee1c95cb9c5e44645df27d4ca8af4..c8a94f40582e24a0bd6a1f181c993d71c00ac102 100644 |
--- a/src/utils/SkDumpCanvas.cpp |
+++ b/src/utils/SkDumpCanvas.cpp |
@@ -324,7 +324,16 @@ void SkDumpCanvas::drawRect(const SkRect& rect, const SkPaint& paint) { |
void SkDumpCanvas::drawRRect(const SkRRect& rrect, const SkPaint& paint) { |
SkString str; |
toString(rrect, &str); |
- this->dump(kDrawRRect_Verb, &paint, "drawRRect(%s)", str.c_str()); |
+ this->dump(kDrawDRRect_Verb, &paint, "drawRRect(%s)", str.c_str()); |
+} |
+ |
+void SkDumpCanvas::onDrawDRRect(const SkRRect& outer, const SkRRect& inner, |
+ const SkPaint& paint) { |
+ SkString str0, str1; |
+ toString(outer, &str0); |
+ toString(inner, &str0); |
+ this->dump(kDrawRRect_Verb, &paint, "drawDRRect(%s,%s)", |
+ str0.c_str(), str1.c_str()); |
} |
void SkDumpCanvas::drawPath(const SkPath& path, const SkPaint& paint) { |