Chromium Code Reviews| 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
|