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

Unified Diff: cc/paint/paint_canvas.h

Issue 2769533002: Clean up calls to ToSkPicture (Closed)
Patch Set: 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
Index: cc/paint/paint_canvas.h
diff --git a/cc/paint/paint_canvas.h b/cc/paint/paint_canvas.h
index 6be10b0495d8d3552cdc558ad100c04f1c9b8f8e..9f6bbbf0a71f88afd4bb17676af7b18819176a3c 100644
--- a/cc/paint/paint_canvas.h
+++ b/cc/paint/paint_canvas.h
@@ -169,12 +169,7 @@ class CC_PAINT_EXPORT PaintCanvas {
const SkRect& bounds,
const 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;

Powered by Google App Engine
This is Rietveld 408576698