DescriptionRemove uses of FontList::Derive*(..) in views payments dialogs.
FontList::Derive(..) is slow (typically requiring IPC with the font
server), has unpredictable results with special UI fonts on Mac, and
encourages use of magic numbers like "-1".
Instead, use context and style constants from the Chrome typography
spec, where available. When an equivalent font is not available, use
ResourceBundle to avoid a behavior change in this CL.
BUG=721834
Review-Url: https://codereview.chromium.org/2899653002
Cr-Original-Commit-Position: refs/heads/master@{#473764}
Committed: https://chromium.googlesource.com/chromium/src/+/424d27cceaba0271bc21e9c9b48a39e4d5a2b21f
Review-Url: https://codereview.chromium.org/2899653002
Cr-Commit-Position: refs/heads/master@{#473859}
Committed: https://chromium.googlesource.com/chromium/src/+/17d6248cb822cf06ae06fccd65fbeebfa7b4af2a
Patch Set 1 #Patch Set 2 : AlwaysCloseAsynchronously #Patch Set 3 : self review #
Total comments: 2
Patch Set 4 : rebase #
Total comments: 1
Patch Set 5 : hate you gcc #Messages
Total messages: 44 (32 generated)
|