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

Unified Diff: third_party/WebKit/Source/core/layout/line/AbstractInlineTextBox.cpp

Issue 2610253004: Migrate WTF::Vector::append() to ::push_back() [part 9 of N] (Closed)
Patch Set: rebase 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/core/layout/line/AbstractInlineTextBox.cpp
diff --git a/third_party/WebKit/Source/core/layout/line/AbstractInlineTextBox.cpp b/third_party/WebKit/Source/core/layout/line/AbstractInlineTextBox.cpp
index c726e40ca56d7bb79976d8fd057aa175636c3844..84b397d7264f8b1663dffad5b899e8de23f8aad1 100644
--- a/third_party/WebKit/Source/core/layout/line/AbstractInlineTextBox.cpp
+++ b/third_party/WebKit/Source/core/layout/line/AbstractInlineTextBox.cpp
@@ -146,7 +146,7 @@ void AbstractInlineTextBox::wordBoundaries(
while (pos >= 0 && pos < len) {
int next = iterator->next();
if (isWordTextBreak(iterator))
- words.append(WordBoundaries(pos, next));
+ words.push_back(WordBoundaries(pos, next));
pos = next;
}
}

Powered by Google App Engine
This is Rietveld 408576698