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; |
} |