Index: src/core/SkRecorder.cpp |
diff --git a/src/core/SkRecorder.cpp b/src/core/SkRecorder.cpp |
index caa9bb58c32acfd7590abe2b7cddc92869e48806..214b075ce7ca3f01aee2506af60b45fd1d0e6c09 100644 |
--- a/src/core/SkRecorder.cpp |
+++ b/src/core/SkRecorder.cpp |
@@ -303,15 +303,16 @@ void SkRecorder::onDrawPicture(const SkPicture* pic, const SkMatrix* matrix, con |
} |
} |
-void SkRecorder::onDrawShadowedPicture(const SkPicture* pic, |
- const SkMatrix* matrix, |
- const SkPaint* paint) { |
+void SkRecorder::onDrawShadowedPicture(const SkPicture* pic, const SkMatrix* matrix, |
+ const SkPaint* paint, const SkShadowParams& params) { |
if (fDrawPictureMode == Record_DrawPictureMode) { |
fApproxBytesUsedBySubPictures += SkPictureUtils::ApproximateBytesUsed(pic); |
APPEND(DrawShadowedPicture, this->copy(paint), |
sk_ref_sp(pic), |
- matrix ? *matrix : SkMatrix::I()); |
+ matrix ? *matrix : SkMatrix::I(), |
+ params); |
} else { |
+ // TODO update pic->playback(this) to draw the shadowed pic |
SkASSERT(fDrawPictureMode == Playback_DrawPictureMode); |
SkAutoCanvasMatrixPaint acmp(this, matrix, paint, pic->cullRect()); |
pic->playback(this); |