summaryrefslogtreecommitdiffstats
path: root/gfx/point.h
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-05 21:07:17 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-05 21:07:17 +0000
commitbd0979609230cc9b1026e98f17f629bf0cfb6b8c (patch)
tree033fffdd50b98823f70a174e66dbe7af17ef99e1 /gfx/point.h
parent26ef58b74eb86e3520542ecd1eb768d71a374601 (diff)
downloadchromium_src-bd0979609230cc9b1026e98f17f629bf0cfb6b8c.zip
chromium_src-bd0979609230cc9b1026e98f17f629bf0cfb6b8c.tar.gz
chromium_src-bd0979609230cc9b1026e98f17f629bf0cfb6b8c.tar.bz2
Make Font::GetStringWidth() a shortcut for gfx::Canvas::SizeStringInt() on Windows. These two functions already did the same thing on Mac and Linux. If they ever returned different results on Windows, it would lead to subtle bugs, since measurement and drawing would slightly disagree.
Clean up a few other things so that all three implementations of GetStringWidth() are identical. BUG=38717 TEST=none Review URL: http://codereview.chromium.org/1928003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46492 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gfx/point.h')
0 files changed, 0 insertions, 0 deletions