diff options
Diffstat (limited to 'views/controls/label_unittest.cc')
-rw-r--r-- | views/controls/label_unittest.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/views/controls/label_unittest.cc b/views/controls/label_unittest.cc index 68fc296..9a86fc8 100644 --- a/views/controls/label_unittest.cc +++ b/views/controls/label_unittest.cc @@ -58,8 +58,9 @@ TEST(LabelTest, UrlProperty) { TEST(LabelTest, ColorProperty) { Label label; SkColor color = SkColorSetARGB(20, 40, 10, 5); - label.SetColor(color); - EXPECT_EQ(color, label.GetColor()); + label.SetAutoColorReadabilityEnabled(false); + label.SetEnabledColor(color); + EXPECT_EQ(color, label.enabled_color()); } TEST(LabelTest, AlignmentProperty) { |