Commit 3c63ef2f authored by Kent Tamura's avatar Kent Tamura Committed by Commit Bot

Remove LayoutTextControlInnerContainer::ShouldIgnoreOverflowPropertyForInlineBlockBaseline

The function is effective only if the box has non-"visible" overflow
property, and the container element doesn't have it.

This CL has no behavior changes.

Bug: 1040828
Change-Id: Idf00ff9b8e9f650ddac199437a52e3423edbc223
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2015907Reviewed-by: default avatarYoshifumi Inoue <yosin@chromium.org>
Commit-Queue: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#734355}
parent 31c7c401
......@@ -125,9 +125,6 @@ class LayoutTextControlInnerContainer final : public LayoutFlexibleBox {
LayoutUnit InlineBlockBaseline(LineDirectionMode direction) const override {
return LayoutBlock::InlineBlockBaseline(direction);
}
bool ShouldIgnoreOverflowPropertyForInlineBlockBaseline() const override {
return true;
}
};
} // namespace blink
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment