[omnibox] Use new text context instead of an explicit size delta
To deemphasize answer descriptions, a font with explicit size delta was being used, resulting in two font fetches. Now there is a new entry in ChromeTextContext so only one is needed. The appearance and behavior should remain the same, but this follow-up CL simplifies API usage, speed, and maintainability. Change-Id: I3a171cddf7b6e1620879b76239cfdf4f975615a1 Bug: 838733 Change-Id: I3a171cddf7b6e1620879b76239cfdf4f975615a1 Reviewed-on: https://chromium-review.googlesource.com/1142019Reviewed-by:Trent Apted <tapted@chromium.org> Reviewed-by:
Justin Donnelly <jdonnelly@chromium.org> Commit-Queue: Trent Apted <tapted@chromium.org> Cr-Commit-Position: refs/heads/master@{#576412}
Showing
Please register or sign in to comment