| Index: cc/layers/picture_image_layer.cc
|
| diff --git a/cc/layers/picture_image_layer.cc b/cc/layers/picture_image_layer.cc
|
| index 2d338f00cb4d9a095330ae7febb4d4d1accbce86..71bdb44e9ea089d1c62d8b9c3f845cf717b826ac 100644
|
| --- a/cc/layers/picture_image_layer.cc
|
| +++ b/cc/layers/picture_image_layer.cc
|
| @@ -73,7 +73,8 @@ void PictureImageLayer::PaintContentsToDisplayList(
|
|
|
| skia::RefPtr<SkPicture> picture =
|
| skia::AdoptRef(recorder.endRecordingAsPicture());
|
| - display_list->AppendItem(DrawingDisplayItem::Create(picture));
|
| + auto* item = display_list->CreateAndAppendItem<DrawingDisplayItem>();
|
| + item->SetNew(picture.Pass());
|
| }
|
|
|
| bool PictureImageLayer::FillsBoundsCompletely() const {
|
|
|