| 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 c38bb42696d6c06b52087582393e5b9d0475e697..af598c4b39cd857e141cad6573ae3ab9ba6828f8 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutRubyRun.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutRubyRun.cpp
|
| @@ -182,7 +182,7 @@ LayoutRubyBase* LayoutRubyRun::createRubyBase() const {
|
| LayoutRubyBase* layoutObject = LayoutRubyBase::createAnonymous(&document());
|
| RefPtr<ComputedStyle> newStyle =
|
| ComputedStyle::createAnonymousStyleWithDisplay(styleRef(),
|
| - EDisplay::Block);
|
| + EDisplay::kBlock);
|
| newStyle->setTextAlign(ETextAlign::kCenter); // FIXME: use WEBKIT_CENTER?
|
| layoutObject->setStyle(std::move(newStyle));
|
| return layoutObject;
|
| @@ -195,7 +195,7 @@ LayoutRubyRun* LayoutRubyRun::staticCreateRubyRun(
|
| rr->setDocumentForAnonymous(&parentRuby->document());
|
| RefPtr<ComputedStyle> newStyle =
|
| ComputedStyle::createAnonymousStyleWithDisplay(parentRuby->styleRef(),
|
| - EDisplay::InlineBlock);
|
| + EDisplay::kInlineBlock);
|
| rr->setStyle(std::move(newStyle));
|
| return rr;
|
| }
|
|
|