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

Unified Diff: Source/platform/fonts/android/FontCacheAndroidTest.cpp

Issue 326763002: Adding WebFallbackFont and renaming SimpleFontFamily (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixing mac build Created 6 years, 6 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 | « Source/platform/fonts/android/FontCacheAndroid.cpp ('k') | Source/platform/fonts/linux/FontCacheLinux.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/fonts/android/FontCacheAndroidTest.cpp
diff --git a/Source/platform/fonts/android/FontCacheAndroidTest.cpp b/Source/platform/fonts/android/FontCacheAndroidTest.cpp
index 2a2f369e4092d19fc56fcf67f04ab7f81d5abcb5..db0f122bedd099425d88e76450058a8ed137c890 100644
--- a/Source/platform/fonts/android/FontCacheAndroidTest.cpp
+++ b/Source/platform/fonts/android/FontCacheAndroidTest.cpp
@@ -10,7 +10,7 @@
namespace WebCore {
-TEST(FontCacheAndroid, platformFallbackForCharacter)
+TEST(FontCacheAndroid, fallbackFontForCharacter)
{
// A Latin character in the common locale system font, but not in the
// Chinese locale-preferred font.
@@ -22,7 +22,7 @@ TEST(FontCacheAndroid, platformFallbackForCharacter)
FontCache* fontCache = FontCache::fontCache();
ASSERT_TRUE(fontCache);
- RefPtr<SimpleFontData> fontData = fontCache->platformFallbackForCharacter(fontDescription, testChar, 0);
+ RefPtr<SimpleFontData> fontData = fontCache->fallbackFontForCharacter(fontDescription, testChar, 0);
EXPECT_TRUE(fontData);
}
« no previous file with comments | « Source/platform/fonts/android/FontCacheAndroid.cpp ('k') | Source/platform/fonts/linux/FontCacheLinux.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698