| Index: third_party/WebKit/Source/core/html/parser/BackgroundHTMLInputStream.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/parser/BackgroundHTMLInputStream.cpp b/third_party/WebKit/Source/core/html/parser/BackgroundHTMLInputStream.cpp
|
| index dfcc058058572c18553b1853962556d05558e6e2..a5e6a25fef1da2ec5d687de1c67b02e749555220 100644
|
| --- a/third_party/WebKit/Source/core/html/parser/BackgroundHTMLInputStream.cpp
|
| +++ b/third_party/WebKit/Source/core/html/parser/BackgroundHTMLInputStream.cpp
|
| @@ -34,7 +34,7 @@ BackgroundHTMLInputStream::BackgroundHTMLInputStream()
|
|
|
| void BackgroundHTMLInputStream::append(const String& input) {
|
| m_current.append(SegmentedString(input));
|
| - m_segments.append(input);
|
| + m_segments.push_back(input);
|
| }
|
|
|
| void BackgroundHTMLInputStream::close() {
|
| @@ -44,8 +44,8 @@ void BackgroundHTMLInputStream::close() {
|
| HTMLInputCheckpoint BackgroundHTMLInputStream::createCheckpoint(
|
| size_t tokensExtractedSincePreviousCheckpoint) {
|
| HTMLInputCheckpoint checkpoint = m_checkpoints.size();
|
| - m_checkpoints.append(Checkpoint(m_current, m_segments.size(),
|
| - tokensExtractedSincePreviousCheckpoint));
|
| + m_checkpoints.push_back(Checkpoint(m_current, m_segments.size(),
|
| + tokensExtractedSincePreviousCheckpoint));
|
| m_totalCheckpointTokenCount += tokensExtractedSincePreviousCheckpoint;
|
| return checkpoint;
|
| }
|
|
|