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

Unified Diff: app/gfx/font_unittest.cc

Issue 251054: Attempt 4 at fixing font size on linux. I think I finally got... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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 | « app/gfx/font_skia.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: app/gfx/font_unittest.cc
===================================================================
--- app/gfx/font_unittest.cc (revision 27484)
+++ app/gfx/font_unittest.cc (working copy)
@@ -31,13 +31,11 @@
TEST_F(FontTest, Ascent) {
Font cf(Font::CreateFont(L"Arial", 16));
ASSERT_GT(cf.baseline(), 2);
- ASSERT_LT(cf.baseline(), 20);
}
TEST_F(FontTest, Height) {
Font cf(Font::CreateFont(L"Arial", 16));
- ASSERT_GT(cf.baseline(), 2);
- ASSERT_LT(cf.baseline(), 20);
+ ASSERT_LT(cf.baseline(), 22);
}
TEST_F(FontTest, AvgWidths) {
« no previous file with comments | « app/gfx/font_skia.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698