summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/blink/renderer/core/layout/ng/inline/ng_physical_line_box_fragment.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/core/layout/ng/inline/ng_physical_line_box_fragment.cc')
-rw-r--r--chromium/third_party/blink/renderer/core/layout/ng/inline/ng_physical_line_box_fragment.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chromium/third_party/blink/renderer/core/layout/ng/inline/ng_physical_line_box_fragment.cc b/chromium/third_party/blink/renderer/core/layout/ng/inline/ng_physical_line_box_fragment.cc
index 08681856ab1..2c37e28cbdd 100644
--- a/chromium/third_party/blink/renderer/core/layout/ng/inline/ng_physical_line_box_fragment.cc
+++ b/chromium/third_party/blink/renderer/core/layout/ng/inline/ng_physical_line_box_fragment.cc
@@ -120,7 +120,7 @@ PhysicalRect NGPhysicalLineBoxFragment::ScrollableOverflow(
}
const NGPhysicalFragment* NGPhysicalLineBoxFragment::FirstLogicalLeaf() const {
- if (Children().IsEmpty())
+ if (Children().empty())
return nullptr;
// TODO(xiaochengh): This isn't correct for mixed Bidi. Fix it. Besides, we
// should compute and store it during layout.
@@ -130,7 +130,7 @@ const NGPhysicalFragment* NGPhysicalLineBoxFragment::FirstLogicalLeaf() const {
DynamicTo<NGPhysicalContainerFragment>(runner)) {
if (runner->IsBlockFormattingContextRoot())
break;
- if (runner_as_container->Children().IsEmpty())
+ if (runner_as_container->Children().empty())
break;
runner = direction == TextDirection::kLtr
? runner_as_container->Children().front().get()
@@ -141,7 +141,7 @@ const NGPhysicalFragment* NGPhysicalLineBoxFragment::FirstLogicalLeaf() const {
}
const NGPhysicalFragment* NGPhysicalLineBoxFragment::LastLogicalLeaf() const {
- if (Children().IsEmpty())
+ if (Children().empty())
return nullptr;
// TODO(xiaochengh): This isn't correct for mixed Bidi. Fix it. Besides, we
// should compute and store it during layout.
@@ -151,7 +151,7 @@ const NGPhysicalFragment* NGPhysicalLineBoxFragment::LastLogicalLeaf() const {
DynamicTo<NGPhysicalContainerFragment>(runner)) {
if (runner->IsBlockFormattingContextRoot())
break;
- if (runner_as_container->Children().IsEmpty())
+ if (runner_as_container->Children().empty())
break;
runner = direction == TextDirection::kLtr
? runner_as_container->Children().back().get()