| Index: src/core/SkRecorder.cpp
|
| diff --git a/src/core/SkRecorder.cpp b/src/core/SkRecorder.cpp
|
| index 7ffb1f4c443f24028bceeb753f212df4338370c6..7d9a31d680f55584ffad7f57318b32720a7d1977 100644
|
| --- a/src/core/SkRecorder.cpp
|
| +++ b/src/core/SkRecorder.cpp
|
| @@ -295,15 +295,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, SkShadowType sType) {
|
| 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(),
|
| + sType);
|
| } 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);
|
|
|