8000 chore: cherry-pick 442703fe44 from chromium. by ppontes · Pull Request #27531 · electron/electron · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

chore: cherry-pick 442703fe44 from chromium. #27531

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 28, 2021

Conversation

ppontes
Copy link
Member
@ppontes ppontes commented Jan 28, 2021

LayoutNG: Fix an incorrect cache-hit for line boxes

If an IFC contains an item for an orthogonal writing-mode root,
NGFragmentItems::DirtyLinesFromNeedsLayout() failed to mark it as dirty
because NeedsLayout flag for the item was already cleared in the
ComputeMinMaxSizes() step.

This CL avoids this issue by assuming orthogonal writing-mode roots
dirty regardless of NeedsLayout flag.

(cherry picked from commit 21976a78429ccd8325acb00b41b4120271580bfb)

Bug: 1125870, 1147357
Change-Id: I603bdd76f9015fbcde46da8e09fb6757b4b0222b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2544326
Reviewed-by: Koji Ishii kojii@chromium.org
Commit-Queue: Kent Tamura tkent@chromium.org
Cr-Original-Commit-Position: refs/heads/master@{#828237}
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2584928
Reviewed-by: Kent Tamura tkent@chromium.org
Commit-Queue: Koji Ishii kojii@chromium.org
Cr-Commit-Position: refs/branch-heads/4240@{#1483}
Cr-Branched-From: f297677702651916bbf65e59c0d4bbd4ce57d1ee-refs/heads/master@{#800218}

Release Notes

Notes: backported the fix to UAF in blink::NGContainerFragmentBuilder.

@ppontes ppontes added semver/patch backwards-compatible bug fixes 10-x-y backport-check-skip Skip trop's backport validity checking labels Jan 28, 2021
@ppontes ppontes requested a review from a team as a code owner January 28, 2021 12:53
@ckerr ckerr merged commit 227d6ea into 10-x-y Jan 28, 2021
@release-clerk
Copy link
release-clerk bot commented Jan 28, 2021

Release Notes Persisted

backported the fix to UAF in blink::NGContainerFragmentBuilder.

@ckerr ckerr deleted the cherry-pick/10-x-y/chromium/442703fe44 branch January 28, 2021 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
10-x-y backport-check-skip Skip trop's backport validity checking semver/patch backwards-compatible bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0