summaryrefslogtreecommitdiffstats
path: root/cc/layers/io_surface_layer.h
diff options
context:
space:
mode:
authoryukishiino@chromium.org <yukishiino@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-28 06:36:09 +0000
committeryukishiino@chromium.org <yukishiino@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-28 06:36:09 +0000
commit22a9610ffaed4d7690463d2f6f710d46c206c70f (patch)
treee7daafbfc2ecc1b5ef54678239809d648d3a75d2 /cc/layers/io_surface_layer.h
parentc87acdcdd35d774e77e73f99ba39ce5af9155ef2 (diff)
downloadchromium_src-22a9610ffaed4d7690463d2f6f710d46c206c70f.zip
chromium_src-22a9610ffaed4d7690463d2f6f710d46c206c70f.tar.gz
chromium_src-22a9610ffaed4d7690463d2f6f710d46c206c70f.tar.bz2
Improves the performance when dragging a v2 app window.
Makes views::LabelButton not create a new font list at every call to GetPreferredSize(). It's really inefficient. Caches both of bold and normal style of the specified font list. BUG=332648 TEST=Done manually with "Files" application (v2 app) on "Chrome" build (built from internal repository, which specifies a different font list from one on Chromium build). Review URL: https://codereview.chromium.org/143053002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247425 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/layers/io_surface_layer.h')
0 files changed, 0 insertions, 0 deletions