summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/layout/layout_ruby_run.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/core/layout/layout_ruby_run.cc')
-rw-r--r--chromium/third_party/blink/renderer/core/layout/layout_ruby_run.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/chromium/third_party/blink/renderer/core/layout/layout_ruby_run.cc b/chromium/third_party/blink/renderer/core/layout/layout_ruby_run.cc
index 141eee16323..699e128ec54 100644
--- a/chromium/third_party/blink/renderer/core/layout/layout_ruby_run.cc
+++ b/chromium/third_party/blink/renderer/core/layout/layout_ruby_run.cc
@@ -237,8 +237,8 @@ void LayoutRubyRun::UpdateLayout() {
last_line_ruby_text_bottom = root_box->LogicalBottomLayoutOverflow();
}
- if (Style()->IsFlippedLinesWritingMode() ==
- (Style()->GetRubyPosition() == RubyPosition::kAfter)) {
+ if (StyleRef().IsFlippedLinesWritingMode() ==
+ (StyleRef().GetRubyPosition() == RubyPosition::kAfter)) {
LayoutUnit first_line_top;
if (LayoutRubyBase* rb = RubyBase()) {
RootInlineBox* root_box = rb->FirstRootBox();
@@ -295,10 +295,10 @@ void LayoutRubyRun::GetOverhang(bool first_line,
(logical_width - root_inline_box->LogicalRight()).ToInt());
}
- start_overhang = Style()->IsLeftToRightDirection() ? logical_left_overhang
- : logical_right_overhang;
- end_overhang = Style()->IsLeftToRightDirection() ? logical_right_overhang
- : logical_left_overhang;
+ start_overhang = StyleRef().IsLeftToRightDirection() ? logical_left_overhang
+ : logical_right_overhang;
+ end_overhang = StyleRef().IsLeftToRightDirection() ? logical_right_overhang
+ : logical_left_overhang;
if (!start_layout_object || !start_layout_object->IsText() ||
start_layout_object->Style(first_line)->FontSize() >