Advance lifecycle to kInStyleRecalc before resolving style in tests. Trying to add DCHECKs to avoid StyleResolver::StyleForElement() and PseudoStyleForElement() caused a few unit tests to break. This CL advances the lifecycle to allow StyleForElement() to be called on a style-dirty tree in style_resolver_test.cc. Change-Id: Ice81c60cd704f6b718b2a781adf93bc069294446 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2352732 Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org> Commit-Queue: Rune Lillesveen <futhark@chromium.org> Cr-Commit-Position: refs/heads/master@{#797592}
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.
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.