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

Unified Diff: ui/views/examples/textfield_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/views/examples/multiline_example.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/examples/textfield_example.cc
diff --git a/ui/views/examples/textfield_example.cc b/ui/views/examples/textfield_example.cc
index 98d806900587dc7840cb3dd793b28909b8e5f1ae..6f3c5f2d956c8afd8fb7c9460ab61ce7291664a9 100644
--- a/ui/views/examples/textfield_example.cc
+++ b/ui/views/examples/textfield_example.cc
@@ -149,7 +149,6 @@ void TextfieldExample::ButtonPressed(Button* sender, const ui::Event& event) {
const gfx::Range small_range(2 * fifth, 3 * fifth);
name_->ApplyStyle(gfx::ITALIC, true, small_range);
name_->ApplyStyle(gfx::UNDERLINE, false, small_range);
- name_->ApplyStyle(gfx::DIAGONAL_STRIKE, true, small_range);
name_->ApplyColor(SK_ColorRED, small_range);
}
}
« no previous file with comments | « ui/views/examples/multiline_example.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698