| Index: src/core/SkRecordDraw.cpp
|
| diff --git a/src/core/SkRecordDraw.cpp b/src/core/SkRecordDraw.cpp
|
| index 02d07d50054b68ac297f209dc871f7386cf37181..cc8e56699c8fac96a20cc6add2d27dda5683afb9 100644
|
| --- a/src/core/SkRecordDraw.cpp
|
| +++ b/src/core/SkRecordDraw.cpp
|
| @@ -107,6 +107,7 @@ DRAW(DrawPaint, drawPaint(r.paint));
|
| DRAW(DrawPath, drawPath(r.path, r.paint));
|
| DRAW(DrawPatch, drawPatch(r.cubics, r.colors, r.texCoords, r.xmode, r.paint));
|
| DRAW(DrawPicture, drawPicture(r.picture, &r.matrix, r.paint));
|
| +DRAW(DrawShadowedPicture, drawShadowedPicture(r.picture, r.lights));
|
| DRAW(DrawPoints, drawPoints(r.mode, r.count, r.pts, r.paint));
|
| DRAW(DrawPosText, drawPosText(r.text, r.byteLength, r.pos, r.paint));
|
| DRAW(DrawPosTextH, drawPosTextH(r.text, r.byteLength, r.xpos, r.y, r.paint));
|
| @@ -472,6 +473,11 @@ private:
|
| return this->adjustAndMap(dst, op.paint);
|
| }
|
|
|
| + Bounds bounds(const DrawShadowedPicture& op) const {
|
| + SkRect dst = op.picture->cullRect();
|
| + return this->adjustAndMap(dst, nullptr);
|
| + }
|
| +
|
| Bounds bounds(const DrawPosText& op) const {
|
| const int N = op.paint.countText(op.text, op.byteLength);
|
| if (N == 0) {
|
|
|