DescriptionOptimize setting the font when drawing in RenderTextLinux.
Avoid creating a temporary |gfx::Font| just to get its
name and size to pass it to Skia.
Note: There's room for further optimizations here, such
as caching, which I plan to look at in a future CL.
BUG=107394
TEST=Run aura and check that omnibox still looks fine. Run about:tracing and check that time used by this code is significantly decreased.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=114541
Patch Set 1 : '' #
Messages
Total messages: 7 (0 generated)
|