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

Unified Diff: Source/platform/SharedBufferChunkReader.cpp

Issue 150653006: Remove the Vector::append overload that takes a Vector (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 6 years, 10 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
« no previous file with comments | « Source/platform/FileChooser.cpp ('k') | Source/platform/graphics/GraphicsLayer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/SharedBufferChunkReader.cpp
diff --git a/Source/platform/SharedBufferChunkReader.cpp b/Source/platform/SharedBufferChunkReader.cpp
index e7b6362047203b008e887819f01cde0be0e80a24..858478bc3d3cd2c7f4adf45d9cdbbdca58430f88 100644
--- a/Source/platform/SharedBufferChunkReader.cpp
+++ b/Source/platform/SharedBufferChunkReader.cpp
@@ -91,7 +91,7 @@ bool SharedBufferChunkReader::nextChunk(Vector<char>& chunk, bool includeSeparat
m_separatorIndex++;
if (m_separatorIndex == m_separator.size()) {
if (includeSeparator)
- chunk.append(m_separator);
+ chunk.appendVector(m_separator);
m_separatorIndex = 0;
return true;
}
« no previous file with comments | « Source/platform/FileChooser.cpp ('k') | Source/platform/graphics/GraphicsLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698