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

Unified Diff: third_party/WebKit/Source/core/html/TextControlElement.cpp

Issue 2583233002: Migrate WTF::Vector::append() to ::push_back() [part 7 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/html/TextControlElement.cpp
diff --git a/third_party/WebKit/Source/core/html/TextControlElement.cpp b/third_party/WebKit/Source/core/html/TextControlElement.cpp
index 1b1bf9d33515b2c7cfc75b66b5dfb1207ae8cf5c..b4ad1c46f2651a80dbd5f4ff16b9e7e79814a56e 100644
--- a/third_party/WebKit/Source/core/html/TextControlElement.cpp
+++ b/third_party/WebKit/Source/core/html/TextControlElement.cpp
@@ -960,8 +960,8 @@ static Position findWordBoundary(const HTMLElement* innerEditor,
const unsigned length = end - start;
concatTexts.append(text->data(), start, length);
- lengthList.append(length);
- textList.append(text);
+ lengthList.push_back(length);
+ textList.push_back(text);
}
if (isEndNode)
« no previous file with comments | « third_party/WebKit/Source/core/html/PublicURLManager.cpp ('k') | third_party/WebKit/Source/core/html/forms/ColorInputType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698