| Index: third_party/WebKit/Source/core/layout/LayoutTextFragment.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutTextFragment.cpp b/third_party/WebKit/Source/core/layout/LayoutTextFragment.cpp
|
| index 2470923398990b84a3fcf305d4e0b8f08208c86a..cfcf034abb2f8e4dfc645daf5acb7045d76bab5d 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutTextFragment.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutTextFragment.cpp
|
| @@ -85,7 +85,7 @@ PassRefPtr<StringImpl> LayoutTextFragment::originalText() const
|
|
|
| void LayoutTextFragment::setText(PassRefPtr<StringImpl> text, bool force)
|
| {
|
| - LayoutText::setText(text, force);
|
| + LayoutText::setText(std::move(text), force);
|
|
|
| m_start = 0;
|
| m_fragmentLength = textLength();
|
| @@ -101,7 +101,7 @@ void LayoutTextFragment::setText(PassRefPtr<StringImpl> text, bool force)
|
|
|
| void LayoutTextFragment::setTextFragment(PassRefPtr<StringImpl> text, unsigned start, unsigned length)
|
| {
|
| - LayoutText::setText(text, false);
|
| + LayoutText::setText(std::move(text), false);
|
|
|
| m_start = start;
|
| m_fragmentLength = length;
|
|
|