Index: ui/views/examples/multiline_example.cc |
diff --git a/ui/views/examples/multiline_example.cc b/ui/views/examples/multiline_example.cc |
index d01b31e2d910d744ea12a6a3f9f9403892bebfdb..cf3264f8d2d4bda0f73d6c904e053e456c63aab8 100644 |
--- a/ui/views/examples/multiline_example.cc |
+++ b/ui/views/examples/multiline_example.cc |
@@ -101,8 +101,8 @@ class MultilineExample::RenderTextView : public View { |
render_text_->ApplyStyle(gfx::DIAGONAL_STRIKE, true, color_range); |
render_text_->SetStyle(gfx::UNDERLINE, false); |
render_text_->ApplyStyle(gfx::UNDERLINE, true, color_range); |
- render_text_->ApplyStyle(gfx::BOLD, true, bold_range); |
render_text_->ApplyStyle(gfx::ITALIC, true, italic_range); |
+ render_text_->ApplyWeight(gfx::Font::Weight::BOLD, bold_range); |
InvalidateLayout(); |
} |