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

Unified Diff: chrome/browser/ui/views/translate/translate_bubble_view.cc

Issue 2855093002: Remove a new usage of LabelButton::SetStyle (in ChromeCleanerDialog). (Closed)
Patch Set: views:: Created 3 years, 7 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
« no previous file with comments | « chrome/browser/ui/views/chrome_cleaner_dialog.cc ('k') | ui/views/controls/button/blue_button.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/translate/translate_bubble_view.cc
diff --git a/chrome/browser/ui/views/translate/translate_bubble_view.cc b/chrome/browser/ui/views/translate/translate_bubble_view.cc
index 5febd678af0e7795af8d5ff26ef457aa049429be..9fc5572b179be3380e4e47b6357339fd3d05585c 100644
--- a/chrome/browser/ui/views/translate/translate_bubble_view.cc
+++ b/chrome/browser/ui/views/translate/translate_bubble_view.cc
@@ -623,7 +623,7 @@ views::View* TranslateBubbleView::CreateViewBeforeTranslate() {
denial_menu_button_ = new views::MenuButton(
l10n_util::GetStringUTF16(IDS_TRANSLATE_BUBBLE_OPTIONS_MENU_BUTTON),
this, true);
- denial_menu_button_->SetStyle(views::Button::STYLE_BUTTON);
+ denial_menu_button_->SetStyleDeprecated(views::Button::STYLE_BUTTON);
layout->AddView(denial_menu_button_);
} else {
std::vector<base::string16> items(
« no previous file with comments | « chrome/browser/ui/views/chrome_cleaner_dialog.cc ('k') | ui/views/controls/button/blue_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698