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

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. 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 | « 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
This is Rietveld 408576698