commit | 77eed61db85cd425b4ec128ad56487b8d8889cd2 | [log] [tgz] |
---|---|---|
author | Michael Lippautz <mlippautz@chromium.org> | Fri Oct 13 14:51:44 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Oct 13 14:51:44 2023 |
tree | 2e32304b0276812ade5200db05e4ea8f90369e39 | |
parent | b4251be952776eaf6124d77bfd395d71cb115713 [diff] |
dom: Fast path for some Has() accessors A boolean conversion on Member is faster than a T* conversion as it avoids decompressing pointers. Unfortunately, return-expr is not contextually convertible to bool, so we need a cast. This provides some minor improvements in .innerHTML workloads. Bug: 1492410 Change-Id: I2495f2cc4021e624ae2e10bec2d6b46ba177b36a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4930855 Commit-Queue: Kentaro Hara <haraken@chromium.org> Commit-Queue: Michael Lippautz <mlippautz@chromium.org> Reviewed-by: Kentaro Hara <haraken@chromium.org> Auto-Submit: Michael Lippautz <mlippautz@chromium.org> Cr-Commit-Position: refs/heads/main@{#1209434}
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.