Index: cc/paint/paint_record.h |
diff --git a/cc/paint/paint_record.h b/cc/paint/paint_record.h |
index daeee0046bf503cec07e36879b58ee9fc53a1154..1509bac0529d480046b59daeb2c02b9a29c8b9d5 100644 |
--- a/cc/paint/paint_record.h |
+++ b/cc/paint/paint_record.h |
@@ -17,10 +17,12 @@ namespace cc { |
using PaintRecord = PaintOpBuffer; |
// TODO(enne): Remove these if possible, they are really expensive. |
-CC_PAINT_EXPORT sk_sp<SkPicture> ToSkPicture(sk_sp<PaintRecord> record); |
+CC_PAINT_EXPORT sk_sp<SkPicture> ToSkPicture(sk_sp<PaintRecord> record, |
+ const SkRect& bounds); |
CC_PAINT_EXPORT sk_sp<const SkPicture> ToSkPicture( |
- sk_sp<const PaintRecord> record); |
+ sk_sp<const PaintRecord> record, |
+ const SkRect& bounds); |
} // namespace cc |