diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-08-30 10:22:43 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-08-30 12:36:28 +0000 |
commit | 271a6c3487a14599023a9106329505597638d793 (patch) | |
tree | e040d58ffc86c1480b79ca8528020ca9ec919bf8 /chromium/third_party/blink/renderer/core/layout/ng/inline/ng_physical_line_box_fragment.cc | |
parent | 7b2ffa587235a47d4094787d72f38102089f402a (diff) |
BASELINE: Update Chromium to 77.0.3865.59
Change-Id: I1e89a5f3b009a9519a6705102ad65c92fe736f21
Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
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.cc | 8 |
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() |