diff options
author | asvitkine <asvitkine@chromium.org> | 2016-01-25 15:12:49 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-01-25 23:14:32 +0000 |
commit | bf571b6dcf58bd8a28fdd5e15b4428e5c2a0b44f (patch) | |
tree | 511daf2bb29da7686f582370efdb65f8df6b660a /net | |
parent | d485ba70f05e5fe831ae90625a44bf5b0d880dd7 (diff) | |
download | chromium_src-bf571b6dcf58bd8a28fdd5e15b4428e5c2a0b44f.zip chromium_src-bf571b6dcf58bd8a28fdd5e15b4428e5c2a0b44f.tar.gz chromium_src-bf571b6dcf58bd8a28fdd5e15b4428e5c2a0b44f.tar.bz2 |
[Mac] Fix BMB chevron button being black on Chrome open.
It seems the issue is caused by the button being drawn into
a layer early on and being cached. Adding a -setNeedsDisplay:
when we actually determine whether it should be visible fixes
the problem - so that the first actual paint to the screen
has the correct appearance.
I'm not sure why Cocoa draws it to a layer earlier than this
(this doesn't happen for other buttons), nor why it's background
color is black when that happens. However, this change does fix
the bad appearance.
BUG=563395
Review URL: https://codereview.chromium.org/1630453002
Cr-Commit-Position: refs/heads/master@{#371344}
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions