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

Unified Diff: ui/views/controls/button/md_text_button.cc

Issue 2855093002: Remove a new usage of LabelButton::SetStyle (in ChromeCleanerDialog). (Closed)
Patch Set: views:: Created 3 years, 7 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/controls/button/label_button_unittest.cc ('k') | ui/views/examples/button_example.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/button/md_text_button.cc
diff --git a/ui/views/controls/button/md_text_button.cc b/ui/views/controls/button/md_text_button.cc
index f208999f89d101dc32c25c892c5dacaaee855e11..aaa3f2ea5ec99c3bb9dad278c72a36f4bcbbce78 100644
--- a/ui/views/controls/button/md_text_button.cc
+++ b/ui/views/controls/button/md_text_button.cc
@@ -34,7 +34,7 @@ LabelButton* CreateButton(ButtonListener* listener,
return MdTextButton::Create(listener, text);
LabelButton* button = new LabelButton(listener, text);
- button->SetStyle(CustomButton::STYLE_BUTTON);
+ button->SetStyleDeprecated(CustomButton::STYLE_BUTTON);
return button;
}
« no previous file with comments | « ui/views/controls/button/label_button_unittest.cc ('k') | ui/views/examples/button_example.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698