Index: src/core/SkRecorder.cpp |
diff --git a/src/core/SkRecorder.cpp b/src/core/SkRecorder.cpp |
index 7433a5b5bf9d8af2723576b071f38a88b3de8362..0413860e9dc1ff26f9ca8b424bec1fb22625fa7b 100644 |
--- a/src/core/SkRecorder.cpp |
+++ b/src/core/SkRecorder.cpp |
@@ -155,12 +155,12 @@ void SkRecorder::onDrawDRRect(const SkRRect& outer, const SkRRect& inner, const |
APPEND(DrawDRRect, paint, outer, inner); |
} |
-void SkRecorder::onDrawDrawable(SkDrawable* drawable) { |
+void SkRecorder::onDrawDrawable(SkDrawable* drawable, const SkMatrix* matrix) { |
if (!fDrawableList) { |
fDrawableList.reset(SkNEW(SkDrawableList)); |
} |
fDrawableList->append(drawable); |
- APPEND(DrawDrawable, drawable->getBounds(), fDrawableList->count() - 1); |
+ APPEND(DrawDrawable, this->copy(matrix), drawable->getBounds(), fDrawableList->count() - 1); |
} |
void SkRecorder::onDrawPath(const SkPath& path, const SkPaint& paint) { |