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

Unified Diff: third_party/WebKit/Source/core/css/parser/CSSParserObserverWrapper.h

Issue 2566403003: Migrate WTF::Vector::append() to ::push_back() [part 3 of N] (Closed)
Patch Set: Created 4 years 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/core/css/parser/CSSParserObserverWrapper.h
diff --git a/third_party/WebKit/Source/core/css/parser/CSSParserObserverWrapper.h b/third_party/WebKit/Source/core/css/parser/CSSParserObserverWrapper.h
index fae709e7e7bd1075683f81ff95f606b7138b3680..ea2dc8c098922020c50affda9a034673576795d0 100644
--- a/third_party/WebKit/Source/core/css/parser/CSSParserObserverWrapper.h
+++ b/third_party/WebKit/Source/core/css/parser/CSSParserObserverWrapper.h
@@ -32,9 +32,9 @@ class CSSParserObserverWrapper {
unsigned endOffset,
unsigned tokensBefore) {
CommentPosition position = {startOffset, endOffset, tokensBefore};
- m_commentOffsets.append(position);
+ m_commentOffsets.push_back(position);
}
- void addToken(unsigned startOffset) { m_tokenOffsets.append(startOffset); }
+ void addToken(unsigned startOffset) { m_tokenOffsets.push_back(startOffset); }
void finalizeConstruction(CSSParserToken* firstParserToken) {
m_firstParserToken = firstParserToken;
m_commentIterator = m_commentOffsets.begin();

Powered by Google App Engine
This is Rietveld 408576698