| Index: third_party/WebKit/Source/core/editing/state_machines/StateMachineTestUtil.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/state_machines/StateMachineTestUtil.cpp b/third_party/WebKit/Source/core/editing/state_machines/StateMachineTestUtil.cpp
|
| index 3118350c50b94694cadcd3ef3e1df33d17edacdc..4ba54f20e49a7b66968ef6e0ea87be045d9143d3 100644
|
| --- a/third_party/WebKit/Source/core/editing/state_machines/StateMachineTestUtil.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/state_machines/StateMachineTestUtil.cpp
|
| @@ -31,10 +31,10 @@ Vector<UChar> codePointsToCodeUnits(const Vector<UChar32>& codePoints) {
|
| Vector<UChar> out;
|
| for (const auto& codePoint : codePoints) {
|
| if (U16_LENGTH(codePoint) == 2) {
|
| - out.append(U16_LEAD(codePoint));
|
| - out.append(U16_TRAIL(codePoint));
|
| + out.push_back(U16_LEAD(codePoint));
|
| + out.push_back(U16_TRAIL(codePoint));
|
| } else {
|
| - out.append(static_cast<UChar>(codePoint));
|
| + out.push_back(static_cast<UChar>(codePoint));
|
| }
|
| }
|
| return out;
|
|
|