Mac: Cache SystemDarkModeEnabled()
This gets called enough while painting that I think it's worth it. Bug: 950063 Change-Id: I11c84087b9bb04fb0d4ba26b4eec4ada050e65e9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1555040Reviewed-by:Elly Fong-Jones <ellyjones@chromium.org> Commit-Queue: Leonard Grey <lgrey@chromium.org> Cr-Commit-Position: refs/heads/master@{#648680}
Showing
Please register or sign in to comment