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

Unified Diff: chrome/browser/ui/views/global_error_bubble_view.cc

Issue 1228213003: Just set borders once when creating a views::LabelButton (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: self review Created 5 years, 5 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/global_error_bubble_view.cc
diff --git a/chrome/browser/ui/views/global_error_bubble_view.cc b/chrome/browser/ui/views/global_error_bubble_view.cc
index 349ad3ed6c9754260410034d2bdbea439f1f1c2d..20d8dd770912e9bf6aea3a7d37b266d3a9faf8e4 100644
--- a/chrome/browser/ui/views/global_error_bubble_view.cc
+++ b/chrome/browser/ui/views/global_error_bubble_view.cc
@@ -92,7 +92,6 @@ GlobalErrorBubbleView::GlobalErrorBubbleView(
base::string16 accept_string(error_->GetBubbleViewAcceptButtonLabel());
scoped_ptr<views::BlueButton> accept_button(
new views::BlueButton(this, accept_string));
- accept_button->SetStyle(views::Button::STYLE_BUTTON);
accept_button->SetIsDefault(true);
accept_button->set_tag(TAG_ACCEPT_BUTTON);

Powered by Google App Engine
This is Rietveld 408576698