DescriptionRevert of Remove uses of FontList::Derive*(..) in views payments dialogs. (patchset #4 id:60001 of https://codereview.chromium.org/2899653002/ )
Reason for revert:
Breaks compilation
see crbug.com/725407
Original issue's description:
> Remove 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-Commit-Position: refs/heads/master@{#473764}
> Committed: https://chromium.googlesource.com/chromium/src/+/424d27cceaba0271bc21e9c9b48a39e4d5a2b21f
TBR=tapted@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=721834
Review-Url: https://codereview.chromium.org/2901763002
Cr-Commit-Position: refs/heads/master@{#473839}
Committed: https://chromium.googlesource.com/chromium/src/+/ddc5e16ef9191ecf5f74c039ed8cebaf9390765b
Patch Set 1 #Messages
Total messages: 9 (6 generated)
|