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

Unified Diff: third_party/WebKit/Source/platform/testing/TestPaintArtifact.cpp

Issue 2615813003: Migrate WTF::Vector::append() to ::push_back() [part 14 of N] (Closed)
Patch Set: rebase, small fix in FontSettings.h Created 3 years, 11 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: 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 b5159fe10a207e15ba3dc574abdd445d12c623ef..e2d169998709b0b5e22d7f14f8651a6d8344a095 100644
--- a/third_party/WebKit/Source/platform/testing/TestPaintArtifact.cpp
+++ b/third_party/WebKit/Source/platform/testing/TestPaintArtifact.cpp
@@ -65,7 +65,7 @@ TestPaintArtifact& TestPaintArtifact::chunk(
PaintChunk chunk;
chunk.beginIndex = m_displayItemList.size();
chunk.properties = properties;
- m_paintChunks.append(chunk);
+ m_paintChunks.push_back(chunk);
return *this;
}
@@ -75,7 +75,7 @@ TestPaintArtifact& TestPaintArtifact::rectDrawing(const FloatRect& bounds,
WTF::makeUnique<DummyRectClient>(bounds, color);
m_displayItemList.allocateAndConstruct<DrawingDisplayItem>(
*client, DisplayItem::kDrawingFirst, client->makePicture());
- m_dummyClients.append(std::move(client));
+ m_dummyClients.push_back(std::move(client));
return *this;
}
@@ -89,7 +89,7 @@ TestPaintArtifact& TestPaintArtifact::foreignLayer(
m_displayItemList.allocateAndConstruct<ForeignLayerDisplayItem>(
*client, DisplayItem::kForeignLayerFirst, std::move(layer), location,
size);
- m_dummyClients.append(std::move(client));
+ m_dummyClients.push_back(std::move(client));
return *this;
}

Powered by Google App Engine
This is Rietveld 408576698