| Index: third_party/WebKit/Source/platform/fonts/skia/FontCacheSkia.cpp
|
| diff --git a/third_party/WebKit/Source/platform/fonts/skia/FontCacheSkia.cpp b/third_party/WebKit/Source/platform/fonts/skia/FontCacheSkia.cpp
|
| index a81e5a00987eb9a109709e259eee433fda40018c..87b584c4d2f934f5db40c671a379f4cdf9ed449b 100644
|
| --- a/third_party/WebKit/Source/platform/fonts/skia/FontCacheSkia.cpp
|
| +++ b/third_party/WebKit/Source/platform/fonts/skia/FontCacheSkia.cpp
|
| @@ -148,6 +148,22 @@ PassRefPtr<SimpleFontData> FontCache::getLastResortFallbackFont(const FontDescri
|
| DEFINE_STATIC_LOCAL(const FontFaceCreationParams, mssansserifCreationParams, (AtomicString("Microsoft Sans Serif")));
|
| fontPlatformData = getFontPlatformData(description, mssansserifCreationParams);
|
| }
|
| + if (!fontPlatformData) {
|
| + DEFINE_STATIC_LOCAL(const FontFaceCreationParams, segoeuiCreationParams, (AtomicString("Segoe UI")));
|
| + fontPlatformData = getFontPlatformData(description, segoeuiCreationParams);
|
| + }
|
| + if (!fontPlatformData) {
|
| + DEFINE_STATIC_LOCAL(const FontFaceCreationParams, calibriCreationParams, (AtomicString("Calibri")));
|
| + fontPlatformData = getFontPlatformData(description, calibriCreationParams);
|
| + }
|
| + if (!fontPlatformData) {
|
| + DEFINE_STATIC_LOCAL(const FontFaceCreationParams, timesnewromanCreationParams, (AtomicString("Times New Roman")));
|
| + fontPlatformData = getFontPlatformData(description, timesnewromanCreationParams);
|
| + }
|
| + if (!fontPlatformData) {
|
| + DEFINE_STATIC_LOCAL(const FontFaceCreationParams, couriernewCreationParams, (AtomicString("Courier New")));
|
| + fontPlatformData = getFontPlatformData(description, couriernewCreationParams);
|
| + }
|
| #endif
|
|
|
| ASSERT(fontPlatformData);
|
|
|