Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(180)

Unified Diff: third_party/WebKit/Source/core/layout/LayoutRubyRun.cpp

Issue 2670643004: Rename EDisplay values with k prefix. (Closed)
Patch Set: Rebase Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}

Powered by Google App Engine
This is Rietveld 408576698