Index: ui/gfx/text_utils.h |
diff --git a/ui/gfx/text_utils.h b/ui/gfx/text_utils.h |
index fa5caef2db6f0a879f4cd3e45c1d753d197de820..9671895599713a7f8ae18285b676babf8903443d 100644 |
--- a/ui/gfx/text_utils.h |
+++ b/ui/gfx/text_utils.h |
@@ -24,8 +24,8 @@ GFX_EXPORT base::string16 RemoveAcceleratorChar(const base::string16& s, |
// Returns the number of horizontal pixels needed to display the specified |
// |text| with |font_list|. |
-GFX_EXPORT int GetStringWidth(const base::string16& text, |
- const FontList& font_list); |
+GFX_EXPORT float GetStringWidth(const base::string16& text, |
+ const FontList& font_list); |
} // namespace gfx |