Index: third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp |
diff --git a/third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp b/third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp |
index 9a67e8adef0d8a109f9d150eea10464255e82b60..22a9d43673984f700edce2e21c5539880c530b1b 100644 |
--- a/third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp |
+++ b/third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp |
@@ -794,7 +794,7 @@ void InlineFlowBox::PlaceBoxesInBlockDirection( |
// been done as line layout and not done using inline-block. |
if (GetLineLayoutItem().Style()->IsFlippedLinesWritingMode() == |
(curr->GetLineLayoutItem().Style()->GetRubyPosition() == |
- kRubyPositionAfter)) |
+ RubyPosition::kAfter)) |
has_annotations_before = true; |
else |
has_annotations_after = true; |
@@ -1513,7 +1513,7 @@ LayoutUnit InlineFlowBox::ComputeOverAnnotationAdjustment( |
if (curr->GetLineLayoutItem().IsAtomicInlineLevel() && |
curr->GetLineLayoutItem().IsRubyRun() && |
curr->GetLineLayoutItem().Style()->GetRubyPosition() == |
- kRubyPositionBefore) { |
+ RubyPosition::kBefore) { |
LineLayoutRubyRun ruby_run = LineLayoutRubyRun(curr->GetLineLayoutItem()); |
LineLayoutRubyText ruby_text = ruby_run.RubyText(); |
if (!ruby_text) |
@@ -1584,7 +1584,7 @@ LayoutUnit InlineFlowBox::ComputeUnderAnnotationAdjustment( |
if (curr->GetLineLayoutItem().IsAtomicInlineLevel() && |
curr->GetLineLayoutItem().IsRubyRun() && |
curr->GetLineLayoutItem().Style()->GetRubyPosition() == |
- kRubyPositionAfter) { |
+ RubyPosition::kAfter) { |
LineLayoutRubyRun ruby_run = LineLayoutRubyRun(curr->GetLineLayoutItem()); |
LineLayoutRubyText ruby_text = ruby_run.RubyText(); |
if (!ruby_text) |