-
Robbie Gibson authored
The bug is that images with rendering mode UIImageRenderingModeAlwaysTemplate do not automatically respond when the mode changes. To fix this, the view controller will alert the mediator whenever its own mode changes. The mediator can then use this value to get the correct icon from the branded image provider, and update the icon back. Once the bug is fixed, none of this code is necessary, as the image should update automatically through UIKit. Bug: 998090 Change-Id: I4e39f4267724366a26b189112b55ccf9b3b222cf Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1774284Reviewed-by:
Gauthier Ambard <gambard@chromium.org> Commit-Queue: Robbie Gibson <rkgibson@google.com> Cr-Commit-Position: refs/heads/master@{#691558}
d4d831dd