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

Unified Diff: chrome/browser/ui/views/infobars/confirm_infobar.cc

Issue 2400563004: Adjust shadow and stroke of MdTextButton. (Closed)
Patch Set: dont schedule paint, add a lot of consts Created 4 years, 2 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: chrome/browser/ui/views/infobars/confirm_infobar.cc
diff --git a/chrome/browser/ui/views/infobars/confirm_infobar.cc b/chrome/browser/ui/views/infobars/confirm_infobar.cc
index 53376070955a4d937dac4284fa6e04c446340dd4..62344d0c7cf1ee6be513cffbaea98a2f3cb200b1 100644
--- a/chrome/browser/ui/views/infobars/confirm_infobar.cc
+++ b/chrome/browser/ui/views/infobars/confirm_infobar.cc
@@ -96,7 +96,7 @@ void ConfirmInfoBar::ViewHierarchyChanged(
// TODO(estade): These should be removed and moved into the native
// theme. Also, infobars should always use the normal (non-incognito)
// native theme.
- cancel_button_->set_bg_color_override(SK_ColorWHITE);
+ cancel_button_->SetBgColorOverride(SK_ColorWHITE);
cancel_button_->SetEnabledTextColors(kTextColor);
}
AddViewToContentArea(cancel_button_);
« no previous file with comments | « chrome/browser/ui/views/download/download_shelf_view.cc ('k') | ui/views/animation/ink_drop_painted_layer_delegates.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698