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

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

Issue 2507383002: Changed ETextAlign to an enum class and renamed its members to keywords (Closed)
Patch Set: Created 4 years, 1 month 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 70d094ac4295a75759a419d4ba37fb860e159efb..83349d05c39a66d1d7f7d27bed25904d3d8b2be7 100644
--- a/third_party/WebKit/Source/core/layout/LayoutRubyRun.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutRubyRun.cpp
@@ -183,7 +183,7 @@ LayoutRubyBase* LayoutRubyRun::createRubyBase() const {
RefPtr<ComputedStyle> newStyle =
ComputedStyle::createAnonymousStyleWithDisplay(styleRef(),
EDisplay::Block);
- newStyle->setTextAlign(CENTER); // FIXME: use WEBKIT_CENTER?
+ newStyle->setTextAlign(ETextAlign::Center); // FIXME: use WEBKIT_CENTER?
layoutObject->setStyle(newStyle.release());
return layoutObject;
}
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutRubyBase.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutRubyText.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698