Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(739)

Unified Diff: ui/views/examples/multiline_example.cc

Issue 2943823002: Remove gfx::DIAGONAL_STRIKE and supporting code. (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gfx/text_constants.h ('k') | ui/views/examples/textfield_example.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/examples/multiline_example.cc
diff --git a/ui/views/examples/multiline_example.cc b/ui/views/examples/multiline_example.cc
index 86be5fa5d1cce68b425cfd368c4387f5597584bd..c92800f67d9c3d8b68c70e865b322f18402871d2 100644
--- a/ui/views/examples/multiline_example.cc
+++ b/ui/views/examples/multiline_example.cc
@@ -97,8 +97,6 @@ class MultilineExample::RenderTextView : public View {
render_text_->SetText(new_contents);
render_text_->SetColor(SK_ColorBLACK);
render_text_->ApplyColor(0xFFFF0000, color_range);
- render_text_->SetStyle(gfx::DIAGONAL_STRIKE, false);
- 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::ITALIC, true, italic_range);
« no previous file with comments | « ui/gfx/text_constants.h ('k') | ui/views/examples/textfield_example.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698