| Index: src/gpu/GrPictureUtils.cpp
|
| diff --git a/src/gpu/GrPictureUtils.cpp b/src/gpu/GrPictureUtils.cpp
|
| index 0bcd927e578806179fe8b5f015cc18769f0c235b..6e3c6b7ef69b1e0cd8b55fa2b3ee0b79808304f4 100644
|
| --- a/src/gpu/GrPictureUtils.cpp
|
| +++ b/src/gpu/GrPictureUtils.cpp
|
| @@ -6,6 +6,7 @@
|
| */
|
|
|
| #include "GrPictureUtils.h"
|
| +#include "SkCanvasPriv.h"
|
| #include "SkDevice.h"
|
| #include "SkDraw.h"
|
| #include "SkPaintPriv.h"
|
| @@ -234,7 +235,10 @@ protected:
|
| this->updateClipConservativelyUsingBounds(rrect.getBounds(), op, false);
|
| }
|
|
|
| - virtual void onDrawPicture(const SkPicture* picture) SK_OVERRIDE {
|
| + virtual void onDrawPicture(const SkPicture* picture, const SkMatrix* matrix,
|
| + const SkPaint* paint) SK_OVERRIDE {
|
| + SkAutoCanvasMatrixPaint acmp(this, matrix, paint, picture->width(), picture->height());
|
| +
|
| if (NULL != picture->fData.get()) {
|
| // Disable the BBH for the old path so all the draw calls
|
| // will be seen. The stock SkPicture::draw method can't be
|
|
|