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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/PaintChunker.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/graphics/paint/PaintChunker.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/paint/PaintChunker.cpp b/third_party/WebKit/Source/platform/graphics/paint/PaintChunker.cpp
index 145f931922d7ef0ee9923325fd3a9202beaff3bf..bb0a1e176366f76786ab07bd949335c660235704 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/PaintChunker.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/PaintChunker.cpp
@@ -67,8 +67,8 @@ bool PaintChunker::incrementDisplayItemIndex(const DisplayItem& item) {
if (m_chunks.isEmpty()) {
PaintChunk newChunk(0, 1, newChunkId ? &*newChunkId : nullptr,
m_currentProperties);
- m_chunks.append(newChunk);
- m_chunkBehavior.append(behavior);
+ m_chunks.push_back(newChunk);
+ m_chunkBehavior.push_back(behavior);
return true;
}
@@ -83,8 +83,8 @@ bool PaintChunker::incrementDisplayItemIndex(const DisplayItem& item) {
PaintChunk newChunk(lastChunk.endIndex, lastChunk.endIndex + 1,
newChunkId ? &*newChunkId : nullptr, m_currentProperties);
- m_chunks.append(newChunk);
- m_chunkBehavior.append(behavior);
+ m_chunks.push_back(newChunk);
+ m_chunkBehavior.push_back(behavior);
return true;
}

Powered by Google App Engine
This is Rietveld 408576698