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

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

Issue 2855093002: Remove a new usage of LabelButton::SetStyle (in ChromeCleanerDialog). (Closed)
Patch Set: Created 3 years, 8 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
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;
}

Powered by Google App Engine
This is Rietveld 408576698