Index: src/utils/SkDeferredCanvas.cpp |
diff --git a/src/utils/SkDeferredCanvas.cpp b/src/utils/SkDeferredCanvas.cpp |
index fc85711cb7fd7b32317d4e7e772238819fbd47f9..3911fd0dfa373636bd3f587231142a720c9dcfa8 100644 |
--- a/src/utils/SkDeferredCanvas.cpp |
+++ b/src/utils/SkDeferredCanvas.cpp |
@@ -880,6 +880,13 @@ void SkDeferredCanvas::drawRRect(const SkRRect& rrect, const SkPaint& paint) { |
} |
} |
+void SkDeferredCanvas::onDrawDRRect(const SkRRect& outer, const SkRRect& inner, |
+ const SkPaint& paint) { |
+ AutoImmediateDrawIfNeeded autoDraw(*this, &paint); |
+ this->drawingCanvas()->drawDRRect(outer, inner, paint); |
+ this->recordedDrawCommand(); |
+} |
+ |
void SkDeferredCanvas::drawPath(const SkPath& path, const SkPaint& paint) { |
AutoImmediateDrawIfNeeded autoDraw(*this, &paint); |
this->drawingCanvas()->drawPath(path, paint); |