| Index: third_party/WebKit/Source/platform/testing/TestPaintArtifact.cpp
|
| diff --git a/third_party/WebKit/Source/platform/testing/TestPaintArtifact.cpp b/third_party/WebKit/Source/platform/testing/TestPaintArtifact.cpp
|
| index fba9b178dd9a05ffc9cd2c98966407d6f2af18d4..477fdf74f8d2313c20f39407c8259e4b3e747bb5 100644
|
| --- a/third_party/WebKit/Source/platform/testing/TestPaintArtifact.cpp
|
| +++ b/third_party/WebKit/Source/platform/testing/TestPaintArtifact.cpp
|
| @@ -77,7 +77,7 @@ TestPaintArtifact& TestPaintArtifact::rectDrawing(const FloatRect& bounds, Color
|
| OwnPtr<DummyRectClient> client = adoptPtr(new DummyRectClient(bounds, color));
|
| m_displayItemList.allocateAndConstruct<DrawingDisplayItem>(
|
| *client, DisplayItem::DrawingFirst, client->makePicture());
|
| - m_dummyClients.append(client.release());
|
| + m_dummyClients.append(std::move(client));
|
| return *this;
|
| }
|
|
|
| @@ -87,7 +87,7 @@ TestPaintArtifact& TestPaintArtifact::foreignLayer(const FloatPoint& location, c
|
| OwnPtr<DummyRectClient> client = adoptPtr(new DummyRectClient(floatBounds, Color::transparent));
|
| m_displayItemList.allocateAndConstruct<ForeignLayerDisplayItem>(
|
| *client, DisplayItem::ForeignLayerFirst, std::move(layer), location, size);
|
| - m_dummyClients.append(client.release());
|
| + m_dummyClients.append(std::move(client));
|
| return *this;
|
| }
|
|
|
|
|