| Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.cpp
|
| index 276da9a6da7ec1ca3610a5abf3818567fa5b802c..b473c4d57171c0eea72c346b48185c9509275613 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.cpp
|
| @@ -52,14 +52,14 @@ static PassRefPtr<StringImpl> normalizeWhitespace(PassRefPtr<StringImpl> string)
|
| }
|
|
|
| LayoutSVGInlineText::LayoutSVGInlineText(Node* n, PassRefPtr<StringImpl> string)
|
| - : LayoutText(n, normalizeWhitespace(string))
|
| + : LayoutText(n, normalizeWhitespace(std::move(string)))
|
| , m_scalingFactor(1)
|
| {
|
| }
|
|
|
| void LayoutSVGInlineText::setTextInternal(PassRefPtr<StringImpl> text)
|
| {
|
| - LayoutText::setTextInternal(text);
|
| + LayoutText::setTextInternal(std::move(text));
|
| if (LayoutSVGText* textLayoutObject = LayoutSVGText::locateLayoutSVGTextAncestor(this))
|
| textLayoutObject->subtreeTextDidChange();
|
| }
|
|
|