Index: ui/views/examples/text_example.cc |
diff --git a/ui/views/examples/text_example.cc b/ui/views/examples/text_example.cc |
index 161710f9964eb3b9a595e49e48286f3fbb73ca50..01457bd4d7b4b7d00333c7ca141617108f4247be 100644 |
--- a/ui/views/examples/text_example.cc |
+++ b/ui/views/examples/text_example.cc |
@@ -126,7 +126,7 @@ class TextExample::TextExampleView : public View { |
return font_list_.GetFontStyle(); |
} |
void SetFontStyle(int style) { |
- font_list_ = font_list_.DeriveFontList(style); |
+ font_list_ = font_list_.DeriveWithStyle(style); |
} |
private: |