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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_inline_box_test.cc

Issue 2457163002: WTF/std normalization: replace WTF::Vector::emplaceAppend with ::emplace_back (Closed)
Patch Set: rebase + return reference to emplaced element Created 4 years, 1 month 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/ng/ng_inline_box_test.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_inline_box_test.cc b/third_party/WebKit/Source/core/layout/ng/ng_inline_box_test.cc
index bf487d1340b557aafe383e3073a6abff1aee2f43..a3b9e2c61f6c4282b808fca40887ed0e99c952c0 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_inline_box_test.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_inline_box_test.cc
@@ -24,7 +24,7 @@ class NGInlineBoxForTest : public NGInlineBox {
void AppendText(const String& text) {
unsigned start = text_content_.length();
text_content_.append(text);
- items_.emplaceAppend(start, start + text.length(), nullptr);
+ items_.emplace_back(start, start + text.length(), nullptr);
}
void AppendText(const char16_t* text) {

Powered by Google App Engine
This is Rietveld 408576698