| Index: ui/gfx/platform_font_mac.h
|
| diff --git a/ui/gfx/platform_font_mac.h b/ui/gfx/platform_font_mac.h
|
| index 12c9f5a73d43a0ee58732461af171ed43ca29e57..5b2f5beed50f9c36e41d19890235099da5912426 100644
|
| --- a/ui/gfx/platform_font_mac.h
|
| +++ b/ui/gfx/platform_font_mac.h
|
| @@ -70,7 +70,9 @@ class PlatformFontMac : public PlatformFont {
|
| int height_;
|
| int ascent_;
|
| int cap_height_;
|
| - int average_width_;
|
| +
|
| + // Cached average width, generated in GetExpectedTextWidth().
|
| + float average_width_ = 0.0;
|
|
|
| // Details about how the font should be rendered.
|
| FontRenderParams render_params_;
|
|
|