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

Unified Diff: cc/paint/paint_canvas.h

Issue 2769533002: Clean up calls to ToSkPicture (Closed)
Patch Set: Rebase Created 3 years, 9 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/display_item_list.cc ('k') | cc/paint/paint_record.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/paint/paint_canvas.h
diff --git a/cc/paint/paint_canvas.h b/cc/paint/paint_canvas.h
index cd00cdc6f007c101c7dd82cabcaa328c2b071d8e..778841f61a9a7212d71d85322f5e58c9bae34658 100644
--- a/cc/paint/paint_canvas.h
+++ b/cc/paint/paint_canvas.h
@@ -170,12 +170,7 @@ class CC_PAINT_EXPORT PaintCanvas {
virtual void drawDisplayItemList(
scoped_refptr<DisplayItemList> display_item_list) = 0;
- virtual void drawPicture(sk_sp<const PaintRecord> record,
- const SkMatrix* matrix,
- const PaintFlags* flags) = 0;
- void drawPicture(sk_sp<const PaintRecord> record) {
- drawPicture(record, nullptr, nullptr);
- }
+ virtual void drawPicture(sk_sp<const PaintRecord> record) = 0;
virtual bool isClipEmpty() const = 0;
virtual bool isClipRect() const = 0;
« no previous file with comments | « cc/paint/display_item_list.cc ('k') | cc/paint/paint_record.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698