DescriptionThe text color for BookmarkButton sometimes doesn't get updated.
This occurs on startup or when dragging a new bookmark onto the bookmark bar.
This is because [BookmarkButtonCell setText:] was being called after [BookmarkButtonCell setTextColor:]
I modified BookmarkButtonCell so it would save the text color and reapply it when setText gets called.
BUG=88694
TEST=Manually. Choose a dark theme like glow and see if the BookmarkButtonCell text color turns white. Try relaunching and draging urls into the bookmark bar and see that it works properly.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=92158
Patch Set 1 #
Total comments: 2
Patch Set 2 : Added comment. Moved applyTextColor to Private protocol. #
Total comments: 2
Patch Set 3 : Removed blank lines and added comment. #
Messages
Total messages: 5 (0 generated)
|