Index: tools/debugger/SkDebugCanvas.cpp |
diff --git a/tools/debugger/SkDebugCanvas.cpp b/tools/debugger/SkDebugCanvas.cpp |
index 3816ca4978987b0c932b5b8f1177c39cf8cf422d..6d5619f59112dc521b48470036ee0ce68e34197c 100644 |
--- a/tools/debugger/SkDebugCanvas.cpp |
+++ b/tools/debugger/SkDebugCanvas.cpp |
@@ -60,9 +60,10 @@ protected: |
void onDrawShadowedPicture(const SkPicture* picture, |
const SkMatrix* matrix, |
- const SkPaint* paint) { |
+ const SkPaint* paint, |
+ const SkShadowParams& params) { |
#ifdef SK_EXPERIMENTAL_SHADOWING |
- this->SkCanvas::onDrawShadowedPicture(picture, matrix, paint); |
+ this->SkCanvas::onDrawShadowedPicture(picture, matrix, paint, params); |
#else |
this->SkCanvas::onDrawPicture(picture, matrix, paint); |
#endif |
@@ -620,8 +621,9 @@ void SkDebugCanvas::onDrawPicture(const SkPicture* picture, |
void SkDebugCanvas::onDrawShadowedPicture(const SkPicture* picture, |
const SkMatrix* matrix, |
- const SkPaint* paint) { |
- this->addDrawCommand(new SkBeginDrawShadowedPictureCommand(picture, matrix, paint)); |
+ const SkPaint* paint, |
+ const SkShadowParams& params) { |
+ this->addDrawCommand(new SkBeginDrawShadowedPictureCommand(picture, matrix, paint, params)); |
SkAutoCanvasMatrixPaint acmp(this, matrix, paint, picture->cullRect()); |
picture->playback(this); |
this->addDrawCommand(new SkEndDrawShadowedPictureCommand(SkToBool(matrix) || SkToBool(paint))); |