Do not cache dark mode settings.
It is unclear whether caching the settings improved performance. The performance regression resolved before the CL adding the caches landed, and there was no significant improvement to performance once the CL did land. However, it did make the code less clear and introduced greater potential for bugs (e.g. https://crbug.com/1002664). Bug: 991838 Change-Id: Ia67a693596ead2a3b392b6e1835e0a2963f47d84 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1822477Reviewed-by:Rune Lillesveen <futhark@chromium.org> Commit-Queue: Aran Gilman <gilmanmh@google.com> Cr-Commit-Position: refs/heads/master@{#700335}
Showing
Please register or sign in to comment