| Index: third_party/WebKit/Source/platform/fonts/shaping/ShapeResult.cpp
|
| diff --git a/third_party/WebKit/Source/platform/fonts/shaping/ShapeResult.cpp b/third_party/WebKit/Source/platform/fonts/shaping/ShapeResult.cpp
|
| index 786924d0ea952c4e3994a8ed2f7943c248528f85..42bf7adb91745d7d71e9b6164dd6cde69fb06d12 100644
|
| --- a/third_party/WebKit/Source/platform/fonts/shaping/ShapeResult.cpp
|
| +++ b/third_party/WebKit/Source/platform/fonts/shaping/ShapeResult.cpp
|
| @@ -337,21 +337,21 @@ void ShapeResult::insertRun(PassOwnPtr<ShapeResult::RunInfo> runToInsert,
|
| if (HB_DIRECTION_IS_FORWARD(run->m_direction)) {
|
| for (size_t pos = 0; pos < m_runs.size(); ++pos) {
|
| if (m_runs.at(pos)->m_startIndex > run->m_startIndex) {
|
| - m_runs.insert(pos, run.release());
|
| + m_runs.insert(pos, std::move(run));
|
| break;
|
| }
|
| }
|
| } else {
|
| for (size_t pos = 0; pos < m_runs.size(); ++pos) {
|
| if (m_runs.at(pos)->m_startIndex < run->m_startIndex) {
|
| - m_runs.insert(pos, run.release());
|
| + m_runs.insert(pos, std::move(run));
|
| break;
|
| }
|
| }
|
| }
|
| // If we didn't find an existing slot to place it, append.
|
| if (run)
|
| - m_runs.append(run.release());
|
| + m_runs.append(std::move(run));
|
| }
|
|
|
| } // namespace blink
|
|
|