Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Unified Diff: cc/paint/paint_record.h

Issue 2889653002: Remove cullRect() from PaintOpBuffer. (Closed)
Patch Set: movecullrect2 rebase-once-and-for-all Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/paint/paint_op_buffer_unittest.cc ('k') | cc/paint/paint_record.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « cc/paint/paint_op_buffer_unittest.cc ('k') | cc/paint/paint_record.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698