| Index: third_party/WebKit/Source/core/layout/LayoutRubyRun.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutRubyRun.cpp b/third_party/WebKit/Source/core/layout/LayoutRubyRun.cpp
|
| index c45d4bd76bf9e1af6428c7583877550f94021179..c38bb42696d6c06b52087582393e5b9d0475e697 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutRubyRun.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutRubyRun.cpp
|
| @@ -184,7 +184,7 @@ LayoutRubyBase* LayoutRubyRun::createRubyBase() const {
|
| ComputedStyle::createAnonymousStyleWithDisplay(styleRef(),
|
| EDisplay::Block);
|
| newStyle->setTextAlign(ETextAlign::kCenter); // FIXME: use WEBKIT_CENTER?
|
| - layoutObject->setStyle(newStyle.release());
|
| + layoutObject->setStyle(std::move(newStyle));
|
| return layoutObject;
|
| }
|
|
|
| @@ -196,7 +196,7 @@ LayoutRubyRun* LayoutRubyRun::staticCreateRubyRun(
|
| RefPtr<ComputedStyle> newStyle =
|
| ComputedStyle::createAnonymousStyleWithDisplay(parentRuby->styleRef(),
|
| EDisplay::InlineBlock);
|
| - rr->setStyle(newStyle.release());
|
| + rr->setStyle(std::move(newStyle));
|
| return rr;
|
| }
|
|
|
|
|