| Index: src/core/SkRecordDraw.cpp
|
| diff --git a/src/core/SkRecordDraw.cpp b/src/core/SkRecordDraw.cpp
|
| index 67402dd80873a0f6142a4340448c04cb6f3b81cb..3845a5c3dc42ce6a134758cb7ed879ef63a3ba06 100644
|
| --- a/src/core/SkRecordDraw.cpp
|
| +++ b/src/core/SkRecordDraw.cpp
|
| @@ -108,6 +108,7 @@ DRAW(DrawTextBlob, drawTextBlob(r.blob, r.x, r.y, r.paint));
|
| DRAW(DrawTextOnPath, drawTextOnPath(r.text, r.byteLength, r.path, r.matrix, r.paint));
|
| DRAW(DrawVertices, drawVertices(r.vmode, r.vertexCount, r.vertices, r.texs, r.colors,
|
| r.xmode.get(), r.indices, r.indexCount, r.paint));
|
| +DRAW(DrawData, drawData(r.data, r.length));
|
| #undef DRAW
|
|
|
|
|
| @@ -212,6 +213,7 @@ private:
|
| void trackBounds(const BeginCommentGroup&) { this->pushControl(); }
|
| void trackBounds(const AddComment&) { this->pushControl(); }
|
| void trackBounds(const EndCommentGroup&) { this->pushControl(); }
|
| + void trackBounds(const DrawData&) { this->pushControl(); }
|
|
|
| // For all other ops, we can calculate and store the bounds directly now.
|
| template <typename T> void trackBounds(const T& op) {
|
|
|