Index: src/utils/SkShadowPaintFilterCanvas.cpp |
diff --git a/src/utils/SkShadowPaintFilterCanvas.cpp b/src/utils/SkShadowPaintFilterCanvas.cpp |
index 31b7661296151023a8266cf67d5d74468b181dc5..f59facb17c8c949c8099a582c22ae23debdbbaef 100644 |
--- a/src/utils/SkShadowPaintFilterCanvas.cpp |
+++ b/src/utils/SkShadowPaintFilterCanvas.cpp |
@@ -103,6 +103,14 @@ void SkShadowPaintFilterCanvas::onDrawOval(const SkRect &rect, const SkPaint &pa |
this->restore(); |
} |
+void SkShadowPaintFilterCanvas::onDrawArc(const SkRect &rect, SkScalar startAngle, |
+ SkScalar sweepAngle, bool useCenter, |
+ const SkPaint &paint) { |
+ this->updateMatrix(); |
+ this->INHERITED::onDrawArc(rect, startAngle, sweepAngle, useCenter, paint); |
+ this->restore(); |
+} |
+ |
void SkShadowPaintFilterCanvas::onDrawPath(const SkPath &path, const SkPaint &paint) { |
this->updateMatrix(); |
this->INHERITED::onDrawPath(path, paint); |