| Index: third_party/WebKit/Source/core/layout/TextAutosizer.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/TextAutosizer.cpp b/third_party/WebKit/Source/core/layout/TextAutosizer.cpp
|
| index 4a760eea66a46f1eec031e925a30b9368ba4da7e..48a65aec647f02098e2fc9ea482afaba893dc8bd 100644
|
| --- a/third_party/WebKit/Source/core/layout/TextAutosizer.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/TextAutosizer.cpp
|
| @@ -1172,7 +1172,7 @@ void TextAutosizer::applyMultiplier(LayoutObject* layoutObject,
|
| // during layout, e.g. BreakingContext::m_currentStyle.
|
| m_stylesRetainedDuringLayout.push_back(¤tStyle);
|
|
|
| - layoutObject->setStyleInternal(style.release());
|
| + layoutObject->setStyleInternal(std::move(style));
|
| DCHECK(!layouter || layoutObject->isDescendantOf(&layouter->root()));
|
| layoutObject->setNeedsLayoutAndFullPaintInvalidation(
|
| LayoutInvalidationReason::TextAutosizing, MarkContainerChain,
|
| @@ -1181,7 +1181,7 @@ void TextAutosizer::applyMultiplier(LayoutObject* layoutObject,
|
|
|
| case LayoutNeeded:
|
| DCHECK(!layouter);
|
| - layoutObject->setStyle(style.release());
|
| + layoutObject->setStyle(std::move(style));
|
| break;
|
| }
|
|
|
|
|