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

Unified Diff: chrome/browser/tab_contents/web_contents_unittest.cc

Issue 244039: Use Mac fonts in Mac Chrome (Closed) Base URL: svn://svn.chromium.org/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 | « chrome/app/resources/locale_settings.grd ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/web_contents_unittest.cc
===================================================================
--- chrome/browser/tab_contents/web_contents_unittest.cc (revision 27524)
+++ chrome/browser/tab_contents/web_contents_unittest.cc (working copy)
@@ -583,7 +583,12 @@
EXPECT_EQ(true, webkit_prefs.uses_universal_detector);
// These should still be the default values.
- EXPECT_EQ(L"Times New Roman", webkit_prefs.standard_font_family);
+#if defined(OS_MACOSX)
+ const wchar_t kDefaultFont[] = L"Times";
+#else
+ const wchar_t kDefaultFont[] = L"Times New Roman";
+#endif
+ EXPECT_EQ(kDefaultFont, webkit_prefs.standard_font_family);
EXPECT_EQ(true, webkit_prefs.javascript_enabled);
}
« no previous file with comments | « chrome/app/resources/locale_settings.grd ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698