diff options
author | asvitkine@chromium.org <asvitkine@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-03 18:15:49 +0000 |
---|---|---|
committer | asvitkine@chromium.org <asvitkine@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-03 18:15:49 +0000 |
commit | add1cca97a1d5de2f096fc8101f04a5026a97266 (patch) | |
tree | f5422b0a742dccaaeb7322294f390cf49863d7d4 /ui/gfx/blit_unittest.cc | |
parent | 49a67aeca61fe7d6c101e5618a4ad4b090dcc997 (diff) | |
download | chromium_src-add1cca97a1d5de2f096fc8101f04a5026a97266.zip chromium_src-add1cca97a1d5de2f096fc8101f04a5026a97266.tar.gz chromium_src-add1cca97a1d5de2f096fc8101f04a5026a97266.tar.bz2 |
Avoid excessive calls to DeriveFont() in RenderTextWin.
This is a performance optimization. PlatformFontWin::DeriveFont() is
slow because it calls GetTextMetrics() and GetTextExtentPoint32() from
PlatformFontWin::CreateHFontRef().
BUG=105550
TEST=Build Chrome Windows with use_canvas_skia_skia=1. Go to paypal.com
and click on the SSL box in the omnibox. The SSL bubble that is brought
up should be much less janky.
Review URL: http://codereview.chromium.org/9314044
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120353 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx/blit_unittest.cc')
0 files changed, 0 insertions, 0 deletions