Fixed color management for sync and avatar icons in profile menus.
Removed the need to use the global GetInstanceForNativeUi() call to get required colors when constructing avatars and sync icons for profile menu views. Also updated the profile menus such that their sync and avatar icons are updated appropriately on theme changes. Performed some basic cleanup, moved some functions into the base class. Bug: None Change-Id: Ia3566c77653c3209265d077e64b524b7bde9c8e1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2070377 Commit-Queue: Thomas Lukaszewicz <tluk@chromium.org> Reviewed-by:Peter Kasting <pkasting@chromium.org> Cr-Commit-Position: refs/heads/master@{#745048}
Showing
Please register or sign in to comment