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

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

Issue 2855093002: Remove a new usage of LabelButton::SetStyle (in ChromeCleanerDialog). (Closed)
Patch Set: 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/label_button_unittest.cc
diff --git a/ui/views/controls/button/label_button_unittest.cc b/ui/views/controls/button/label_button_unittest.cc
index f87f198164953b9aebd1379172c43dd1be98a733..76fbc3c6b09782bded8b929b4a3c9923ff8a70b8 100644
--- a/ui/views/controls/button/label_button_unittest.cc
+++ b/ui/views/controls/button/label_button_unittest.cc
@@ -63,7 +63,7 @@ class LabelButtonTest : public test::WidgetTest {
TestLabelButton* AddStyledButton(const char* label, bool is_default) {
TestLabelButton* button = new TestLabelButton;
button->SetText(ASCIIToUTF16(label));
- button->SetStyle(CustomButton::STYLE_BUTTON);
+ button->SetStyleDeprecated(CustomButton::STYLE_BUTTON);
if (is_default)
button->SetIsDefault(true);
button_->GetWidget()->GetContentsView()->AddChildView(button);

Powered by Google App Engine
This is Rietveld 408576698