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

Unified Diff: cc/paint/paint_record.h

Issue 2889653002: Remove cullRect() from PaintOpBuffer. (Closed)
Patch Set: movecullrect2 fixcompile 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
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

Powered by Google App Engine
This is Rietveld 408576698