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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutRubyText.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/LayoutRubyText.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutRubyText.cpp b/third_party/WebKit/Source/core/layout/LayoutRubyText.cpp
index a454d07b7eda47cef9db1c1092697098350498e5..ca4075e7baec06ae631181bb02bd1791cf3776b0 100644
--- a/third_party/WebKit/Source/core/layout/LayoutRubyText.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutRubyText.cpp
@@ -50,7 +50,7 @@ ETextAlign LayoutRubyText::textAlignmentForLine(bool endsWithSoftBreak) const {
// The default behavior is to allow ruby text to expand if it is shorter than
// the ruby base.
- return JUSTIFY;
+ return ETextAlign::Justify;
}
void LayoutRubyText::adjustInlineDirectionLineBounds(
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutRubyRun.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutText.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698