-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent NeedsLayout when recomputing visual overflow for NG
When |NeedsRecomputeVisualOverflow|, r736422 crrev.com/c/2025389 added a workaround to set |NeedsLayout| for legacy objects. But when r740231 crrev.com/c/2046983 changed the condition, it accidentally included LayoutNG |LayoutInline|. This patch fixes the condition to exclude it. Note the fix is limited to FragmentItem as recent ink overflow fix is only applied to FragmentItem. Bug: 1128199 Change-Id: I3c909c3ae176b6c58b4f29f91a3f188feff69eaf Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2426147 Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org> Commit-Queue: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#815727} GitOrigin-RevId: 2389d47bb8b475c5116ab2b8da9112c6ce3f6365
- Loading branch information
1 parent
ca50d38
commit c7deeda
Showing
2 changed files
with
8 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters