Index: src/core/SkRecordDraw.cpp |
diff --git a/src/core/SkRecordDraw.cpp b/src/core/SkRecordDraw.cpp |
index c1fa0e8cc383ce27a9c14a7ee7a728625b3a43e3..4801f66713f9f46c543aca2b7e9e020b30f717ca 100644 |
--- a/src/core/SkRecordDraw.cpp |
+++ b/src/core/SkRecordDraw.cpp |
@@ -61,12 +61,13 @@ void SkRecordDraw(const SkRecord& record, |
void SkRecordPartialDraw(const SkRecord& record, SkCanvas* canvas, |
SkPicture const* const drawablePicts[], int drawableCount, |
+ const SkRect& clearRect, |
unsigned start, unsigned stop, |
const SkMatrix& initialCTM) { |
SkAutoCanvasRestore saveRestore(canvas, true /*save now, restore at exit*/); |
stop = SkTMin(stop, record.count()); |
- SkRecords::Draw draw(canvas, drawablePicts, NULL, drawableCount, &initialCTM); |
+ SkRecords::PartialDraw draw(canvas, NULL, 0, clearRect, initialCTM); |
for (unsigned i = start; i < stop; i++) { |
record.visit<void>(i, draw); |
} |