| Index: ui/gfx/render_text_win.cc
|
| diff --git a/ui/gfx/render_text_win.cc b/ui/gfx/render_text_win.cc
|
| index 58ee2c7123bf7816b7463e97d05eff40ca4a1470..0f880c13af40947c3dcd0e798dd03177fbc984c6 100644
|
| --- a/ui/gfx/render_text_win.cc
|
| +++ b/ui/gfx/render_text_win.cc
|
| @@ -118,7 +118,7 @@ void DeriveFontIfNecessary(int font_size,
|
| const int current_style = (font->GetStyle() & kStyleMask);
|
| const int current_size = font->GetFontSize();
|
| if (current_style != target_style || current_size != font_size)
|
| - *font = font->DeriveFont(font_size - current_size, target_style);
|
| + *font = font->Derive(font_size - current_size, target_style);
|
| }
|
|
|
| // Returns true if |c| is a Unicode BiDi control character.
|
|
|