Index: src/core/SkPictureRecorder.cpp |
diff --git a/src/core/SkPictureRecorder.cpp b/src/core/SkPictureRecorder.cpp |
index 877314ccafd98bca89c89a19e97f3f5bcad3acef..0c50dd9bb7b9c1a82924202271d71260bcbeac57 100644 |
--- a/src/core/SkPictureRecorder.cpp |
+++ b/src/core/SkPictureRecorder.cpp |
@@ -95,6 +95,12 @@ SkPicture* SkPictureRecorder::endRecordingAsPicture() { |
subPictureBytes)); |
} |
+SkPicture* SkPictureRecorder::endRecordingAsPicture(const SkRect& cullRect) { |
+ fCullRect = cullRect; |
+ return this->endRecordingAsPicture(); |
+} |
+ |
+ |
void SkPictureRecorder::partialReplay(SkCanvas* canvas) const { |
if (NULL == canvas) { |
return; |