| Index: ui/gfx/font_list.h
|
| diff --git a/ui/gfx/font_list.h b/ui/gfx/font_list.h
|
| index 96398a1dcd0118781aa94d3caea4d35796955974..5a15e6e3473980cef8bb4de959bb842ad1189965 100644
|
| --- a/ui/gfx/font_list.h
|
| +++ b/ui/gfx/font_list.h
|
| @@ -81,13 +81,12 @@ class GFX_EXPORT FontList {
|
| // fonts in the font list.
|
| int GetBaseline() const;
|
|
|
| - // Returns the number of horizontal pixels needed to display |text|.
|
| - int GetStringWidth(const base::string16& text) const;
|
| + // Returns the pixel width needed to display |text|.
|
| + float 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.
|
| - int GetExpectedTextWidth(int length) const;
|
| + // Returns the expected pixel width needed to display the specified length of
|
| + // characters. Call GetStringWidth() to retrieve the actual number.
|
| + float GetExpectedTextWidth(int length) const;
|
|
|
| // Returns the |gfx::Font::FontStyle| style flags for this font list.
|
| int GetFontStyle() const;
|
|
|