| Index: ui/gfx/platform_font_win.h
|
| diff --git a/ui/gfx/platform_font_win.h b/ui/gfx/platform_font_win.h
|
| index e2158492aaf29c76883d4373b2578ed41faf4b40..11f94d4d2ee86576f879c7a8b7435c7279bfca6f 100644
|
| --- a/ui/gfx/platform_font_win.h
|
| +++ b/ui/gfx/platform_font_win.h
|
| @@ -172,6 +172,10 @@
|
| static HFontRef* CreateHFontRefFromGDI(HFONT font,
|
| const TEXTMETRIC& font_metrics);
|
|
|
| + // Returns a largest derived Font whose height does not exceed the height of
|
| + // |base_font|.
|
| + static Font DeriveWithCorrectedSize(HFONT base_font);
|
| +
|
| // Creates and returns a new HFontRef from the specified HFONT using metrics
|
| // from skia. Currently this is only used if we use DirectWrite for font
|
| // metrics.
|
|
|