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

Unified Diff: ui/views/controls/button/blue_button_unittest.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 | « ui/views/controls/button/blue_button.cc ('k') | ui/views/controls/button/label_button.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/button/blue_button_unittest.cc
diff --git a/ui/views/controls/button/blue_button_unittest.cc b/ui/views/controls/button/blue_button_unittest.cc
index 5b9dc39eb364b17e55511c0091cea57aa9f74bdb..a4292caea225f9fbad1dc12bdccb729ea13c2a3b 100644
--- a/ui/views/controls/button/blue_button_unittest.cc
+++ b/ui/views/controls/button/blue_button_unittest.cc
@@ -30,7 +30,7 @@ TEST_F(BlueButtonTest, Border) {
EXPECT_TRUE(button->focus_painter());
// Switch to the same style as BlueButton for a more compelling comparison.
- button->SetStyle(Button::STYLE_BUTTON);
+ button->SetStyleDeprecated(Button::STYLE_BUTTON);
EXPECT_EQ(Button::STYLE_BUTTON, button->style());
EXPECT_FALSE(button->focus_painter());
« no previous file with comments | « ui/views/controls/button/blue_button.cc ('k') | ui/views/controls/button/label_button.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698