summaryrefslogtreecommitdiff
path: root/layout/generic/nsLineLayout.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'layout/generic/nsLineLayout.cpp')
-rw-r--r--layout/generic/nsLineLayout.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/layout/generic/nsLineLayout.cpp b/layout/generic/nsLineLayout.cpp
index 579c4ae0b0..90ce6b089f 100644
--- a/layout/generic/nsLineLayout.cpp
+++ b/layout/generic/nsLineLayout.cpp
@@ -3009,7 +3009,7 @@ nsLineLayout::ExpandRubyBox(PerFrameData* aFrame, nscoord aReservedISize,
}
// If there are no justification opportunities for space-between,
// fall-through to center per spec.
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
}
case NS_STYLE_RUBY_ALIGN_CENTER:
// Indent all children by half of the reserved inline size.
@@ -3201,7 +3201,7 @@ nsLineLayout::TextAlignLine(nsLineBox* aLine,
}
// Fall through to the default case if we could not justify to fill
// the space.
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
}
case NS_STYLE_TEXT_ALIGN_START: