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

Unified Diff: third_party/WebKit/Source/platform/SharedBufferChunkReader.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/SharedBufferChunkReader.cpp
diff --git a/third_party/WebKit/Source/platform/SharedBufferChunkReader.cpp b/third_party/WebKit/Source/platform/SharedBufferChunkReader.cpp
index b7e36f44e220953625b769a45b9fe8811e87f487..05d8ed7faf2455110cb4cdf13f6c832f5e85f318 100644
--- a/third_party/WebKit/Source/platform/SharedBufferChunkReader.cpp
+++ b/third_party/WebKit/Source/platform/SharedBufferChunkReader.cpp
@@ -83,7 +83,7 @@ bool SharedBufferChunkReader::nextChunk(Vector<char>& chunk,
chunk.append(m_separator.data(), m_separatorIndex);
m_separatorIndex = 0;
}
- chunk.append(currentCharacter);
+ chunk.push_back(currentCharacter);
continue;
}
m_separatorIndex++;
« no previous file with comments | « third_party/WebKit/Source/platform/SharedBuffer.cpp ('k') | third_party/WebKit/Source/platform/TimerTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698