DescriptionAvoid extra FontRenderParams queries in RenderTextHarfBuzz.
gfx::Font already contains a FontRenderParams struct. Make
RenderTextHarfBuzz use it when possible instead of always
querying for a new struct.
BUG=none
Committed: https://crrev.com/faf4a0632d4aa96f0f8b31021fb353eebc5509e6
Cr-Commit-Position: refs/heads/master@{#301101}
Patch Set 1 #Patch Set 2 : merge #Patch Set 3 : avoid passing gfx::Font #Patch Set 4 : restore check that a family was actually found #
Messages
Total messages: 15 (2 generated)
|