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 7deab920a909a4ca9fb773992c4385d3b442ac26..3bfee35930d1fab53ee521823a41991473896d9f 100644 |
--- a/chrome/browser/ui/views/infobars/confirm_infobar.cc |
+++ b/chrome/browser/ui/views/infobars/confirm_infobar.cc |
@@ -72,7 +72,7 @@ void ConfirmInfoBar::ViewHierarchyChanged( |
if (delegate->GetButtons() & ConfirmInfoBarDelegate::BUTTON_OK) { |
if (delegate->OKButtonTriggersUACPrompt()) { |
// Use a label button even in MD mode as MD buttons don't support icons. |
Peter Kasting
2016/03/09 07:18:10
Has this been fixed? We do still want the button
Evan Stade
2016/03/10 02:41:42
Right, good call, comment removed and code cleaned
|
- views::LabelButton* ok_button = CreateLabelButton( |
+ views::LabelButton* ok_button = CreateTextButton( |
this, delegate->GetButtonLabel(ConfirmInfoBarDelegate::BUTTON_OK)); |
elevation_icon_setter_.reset(new ElevationIconSetter( |
ok_button, |