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

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

Issue 2801583002: Use views::style for buttons, bootstrap ash_typography to do so. (Closed)
Patch Set: rebase for epic ash file move 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/blue_button.cc
diff --git a/ui/views/controls/button/blue_button.cc b/ui/views/controls/button/blue_button.cc
index c0e8b9902d01c18d179c5255a676736588954713..93cbd3e03185c0f52815f9170830915361eafca0 100644
--- a/ui/views/controls/button/blue_button.cc
+++ b/ui/views/controls/button/blue_button.cc
@@ -19,7 +19,7 @@ namespace views {
const char BlueButton::kViewClassName[] = "views/BlueButton";
BlueButton::BlueButton(ButtonListener* listener, const base::string16& text)
- : LabelButton(listener, text) {
+ : LabelButton(listener, text, style::CONTEXT_LABEL) {
// Inherit STYLE_BUTTON insets, minimum size, alignment, etc.
SetStyle(STYLE_BUTTON);
UpdateThemedBorder();

Powered by Google App Engine
This is Rietveld 408576698