Chromium Code Reviews

Unified Diff: views/controls/label_unittest.cc

Issue 113441: ChromeFont->gfx::Font... (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/src/
Patch Set: Created 11 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « views/controls/label.cc ('k') | views/controls/link.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/label_unittest.cc
===================================================================
--- views/controls/label_unittest.cc (revision 16106)
+++ views/controls/label_unittest.cc (working copy)
@@ -17,9 +17,9 @@
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());
}
« no previous file with comments | « views/controls/label.cc ('k') | views/controls/link.h » ('j') | no next file with comments »

Powered by Google App Engine