diff options
author | yukishiino@chromium.org <yukishiino@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-23 09:35:49 +0000 |
---|---|---|
committer | yukishiino@chromium.org <yukishiino@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-23 09:35:49 +0000 |
commit | eaa4f14e5187ba2f1be85a0cdd4e044a8abc5c3c (patch) | |
tree | b66c020cb7cca8a66c5c5b20feef6ecd88ed701c /ui/gfx/font_list.h | |
parent | 46860da6ddd4e6855923a93990317964dba0ecbf (diff) | |
download | chromium_src-eaa4f14e5187ba2f1be85a0cdd4e044a8abc5c3c.zip chromium_src-eaa4f14e5187ba2f1be85a0cdd4e044a8abc5c3c.tar.gz chromium_src-eaa4f14e5187ba2f1be85a0cdd4e044a8abc5c3c.tar.bz2 |
Clean-up: Removes gfx::FontList::GetStringWidth(text).
gfx::GetStringWidth(text, font_list) in ui/gfx/text_utils.h is recommended and gfx::FontList::GetStringWidth(text) is obsolete. Remove the method.
TEST=none
Review URL: https://codereview.chromium.org/144183005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246548 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx/font_list.h')
-rw-r--r-- | ui/gfx/font_list.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ui/gfx/font_list.h b/ui/gfx/font_list.h index 244da88..c70c37f 100644 --- a/ui/gfx/font_list.h +++ b/ui/gfx/font_list.h @@ -96,9 +96,6 @@ class GFX_EXPORT FontList { // Currently returns the cap height of the primary font. int GetCapHeight() const; - // Returns the number of horizontal pixels needed to display |text|. - int GetStringWidth(const base::string16& text) const; - // Returns the expected number of horizontal pixels needed to display the // specified length of characters. Call GetStringWidth() to retrieve the // actual number. |