| Index: ui/gfx/font_unittest.cc
|
| diff --git a/ui/gfx/font_unittest.cc b/ui/gfx/font_unittest.cc
|
| index 247b2f3f1badeceb8ea6da060a8761013c1db106..073ffb51f651370ecf5402d3fa7ed9f6d6179b6f 100644
|
| --- a/ui/gfx/font_unittest.cc
|
| +++ b/ui/gfx/font_unittest.cc
|
| @@ -93,9 +93,9 @@ TEST_F(FontTest, CapHeight) {
|
| EXPECT_GT(cf.GetCapHeight(), 0);
|
| EXPECT_GT(cf.GetCapHeight(), cf.GetHeight() / 2);
|
| #if defined(OS_CHROMEOS) || defined(OS_LINUX)
|
| - EXPECT_EQ(cf.GetCapHeight(), cf.GetHeight());
|
| + EXPECT_EQ(cf.GetCapHeight(), cf.GetBaseline());
|
| #else
|
| - EXPECT_LT(cf.GetCapHeight(), cf.GetHeight());
|
| + EXPECT_LT(cf.GetCapHeight(), cf.GetBaseline());
|
| #endif
|
| }
|
|
|
|
|