summaryrefslogtreecommitdiffstats
path: root/views/controls/label_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'views/controls/label_unittest.cc')
-rw-r--r--views/controls/label_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/controls/label_unittest.cc b/views/controls/label_unittest.cc
index 1ac74b1..54ee5ca 100644
--- a/views/controls/label_unittest.cc
+++ b/views/controls/label_unittest.cc
@@ -17,9 +17,9 @@ const int kMinTextDimension = 4;
TEST(LabelTest, FontProperty) {
Label label;
std::wstring font_name(L"courier");
- ChromeFont font = ChromeFont::CreateFont(font_name, 30);
+ gfx::Font font = gfx::Font::CreateFont(font_name, 30);
label.SetFont(font);
- ChromeFont font_used = label.GetFont();
+ gfx::Font font_used = label.GetFont();
EXPECT_STREQ(font_name.c_str(), font_used.FontName().c_str());
EXPECT_EQ(30, font_used.FontSize());
}