Fix PageActionIconView text colors
PwaIconView was the first PageActionIconView to make use of the label functionality. This revealed two bugs in PageActionIconView: - The text color was hard coded as kColorId_LabelDisabledColor. - OnNativeThemeChanged() didn't call the superclass resulting in uninitialised values for LabelButton::button_state_colors_. This CL fixes both issues. Before: https://bugs.chromium.org/p/chromium/issues/attachment?aid=386810&signed_aid=781DgZbUS5lVNN4F1taohA==&inline=1 After: https://bugs.chromium.org/p/chromium/issues/attachment?aid=386811&signed_aid=n-KvGoW3qBU6UsD6x72gnA==&inline=1 Change-Id: I834b7720932bab5eff93892ea7026b8d6140a720 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1545431 Commit-Queue: Alan Cutter <alancutter@chromium.org> Auto-Submit: Alan Cutter <alancutter@chromium.org> Reviewed-by:Evan Stade <estade@chromium.org> Cr-Commit-Position: refs/heads/master@{#646643}
Showing
Please register or sign in to comment