Index: include/core/SkPictureRecorder.h |
diff --git a/include/core/SkPictureRecorder.h b/include/core/SkPictureRecorder.h |
index a8ca600b8183261e0bcb590d979d90aba019e0d8..de216b4e5be6f08f02ce2db76625f3e18266aaf1 100644 |
--- a/include/core/SkPictureRecorder.h |
+++ b/include/core/SkPictureRecorder.h |
@@ -50,15 +50,9 @@ |
@param recordFlags optional flags that control recording. |
@return the canvas. |
*/ |
- SkCanvas* beginRecording(const SkRect& bounds, |
+ SkCanvas* beginRecording(SkScalar width, SkScalar height, |
SkBBHFactory* bbhFactory = NULL, |
uint32_t recordFlags = 0); |
- |
- SkCanvas* beginRecording(SkScalar width, SkScalar height, |
- SkBBHFactory* bbhFactory = NULL, |
- uint32_t recordFlags = 0) { |
- return this->beginRecording(SkRect::MakeWH(width, height), bbhFactory, recordFlags); |
- } |
/** Returns the recording canvas if one is active, or NULL if recording is |
not active. This does not alter the refcnt on the canvas (if present). |
@@ -85,7 +79,8 @@ |
void partialReplay(SkCanvas* canvas) const; |
uint32_t fFlags; |
- SkRect fCullRect; |
+ SkScalar fCullWidth; |
+ SkScalar fCullHeight; |
SkAutoTUnref<SkBBoxHierarchy> fBBH; |
SkAutoTUnref<SkRecorder> fRecorder; |
SkAutoTDelete<SkRecord> fRecord; |