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

Unified Diff: cc/paint/drawing_display_item.cc

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
« no previous file with comments | « cc/paint/drawing_display_item.h ('k') | cc/paint/paint_op_buffer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/paint/drawing_display_item.cc
diff --git a/cc/paint/drawing_display_item.cc b/cc/paint/drawing_display_item.cc
index f8819c01e9864f1805cdc283ee70f7b2e31a14f0..4b3558efb8b37c806102556669895b9ba8b4be43 100644
--- a/cc/paint/drawing_display_item.cc
+++ b/cc/paint/drawing_display_item.cc
@@ -10,8 +10,9 @@ namespace cc {
DrawingDisplayItem::DrawingDisplayItem() : DisplayItem(DRAWING) {}
-DrawingDisplayItem::DrawingDisplayItem(sk_sp<const PaintRecord> record)
- : DisplayItem(DRAWING), picture(std::move(record)) {}
+DrawingDisplayItem::DrawingDisplayItem(sk_sp<const PaintRecord> record,
+ const SkRect& bounds)
+ : DisplayItem(DRAWING), picture(std::move(record)), bounds(bounds) {}
DrawingDisplayItem::DrawingDisplayItem(const DrawingDisplayItem& item)
: DisplayItem(DRAWING), picture(item.picture) {}
danakj 2017/05/19 15:30:10 I think this is the MSAN failure. The copy constru
« no previous file with comments | « cc/paint/drawing_display_item.h ('k') | cc/paint/paint_op_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698