Simplified layout with fragment items always fails. As of https://chromium-review.googlesource.com/c/chromium/src/+/3600090 we'd always disallow simplified layout of fragments with items, since result.succeeded would always be false in this case, since the only way for FragmentItemsBuilder::AddPreviousItems() to succeed is if the `end_item` parameter is specified. See https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/layout/inline/fragment_items_builder.cc;l=380-384;drc=b55e796ce1b79e1b984741f0ec8f1cc997f9b8f4 No behavior changes intended. This is either performance-neutral, or slightly positive (since we no longer waste time on copying things just to throw them away afterwards). Clean up FragmentItemsBuilder::AddPreviousItems(). `end_item` can no longer be nullptr Change-Id: I0609ada6be2a1a3cb8b3467ca7918c91c9a5f07c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6298015 Commit-Queue: Morten Stenshorne <mstensho@chromium.org> Reviewed-by: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/main@{#1425076}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.