diff options
Diffstat (limited to 'views/controls/label_unittest.cc')
-rw-r--r-- | views/controls/label_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/controls/label_unittest.cc b/views/controls/label_unittest.cc index ab4b1e9..5ea20b3 100644 --- a/views/controls/label_unittest.cc +++ b/views/controls/label_unittest.cc @@ -22,7 +22,7 @@ TEST(LabelTest, FontPropertyCourier) { std::wstring font_name(L"courier"); gfx::Font font = gfx::Font::CreateFont(font_name, 30); label.SetFont(font); - gfx::Font font_used = label.GetFont(); + gfx::Font font_used = label.font(); EXPECT_EQ(font_name, font_used.FontName()); EXPECT_EQ(30, font_used.FontSize()); } @@ -33,7 +33,7 @@ TEST(LabelTest, FontPropertyArial) { std::wstring font_name(L"arial"); gfx::Font font = gfx::Font::CreateFont(font_name, 30); label.SetFont(font); - gfx::Font font_used = label.GetFont(); + gfx::Font font_used = label.font(); EXPECT_EQ(font_name, font_used.FontName()); EXPECT_EQ(30, font_used.FontSize()); } |