| 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 9cba858e6da91e7a7a506e736c3084783018e84d..59cd332406b7539fed65aba3e116a4929c30f836 100644
|
| --- a/third_party/WebKit/Source/platform/fonts/skia/FontCacheSkia.cpp
|
| +++ b/third_party/WebKit/Source/platform/fonts/skia/FontCacheSkia.cpp
|
| @@ -148,21 +148,21 @@ PassRefPtr<SimpleFontData> FontCache::getLastResortFallbackFont(const FontDescri
|
|
|
| // We should at least have Sans or Arial which is the last resort fallback of SkFontHost ports.
|
| if (!fontPlatformData) {
|
| - DEFINE_STATIC_LOCAL(const FontFaceCreationParams, sansCreationParams, (AtomicString("Sans", AtomicString::ConstructFromLiteral)));
|
| + DEFINE_STATIC_LOCAL(const FontFaceCreationParams, sansCreationParams, (AtomicString("Sans")));
|
| fontPlatformData = getFontPlatformData(description, sansCreationParams);
|
| }
|
| if (!fontPlatformData) {
|
| - DEFINE_STATIC_LOCAL(const FontFaceCreationParams, arialCreationParams, (AtomicString("Arial", AtomicString::ConstructFromLiteral)));
|
| + DEFINE_STATIC_LOCAL(const FontFaceCreationParams, arialCreationParams, (AtomicString("Arial")));
|
| fontPlatformData = getFontPlatformData(description, arialCreationParams);
|
| }
|
| #if OS(WIN)
|
| // Try some more Windows-specific fallbacks.
|
| if (!fontPlatformData) {
|
| - DEFINE_STATIC_LOCAL(const FontFaceCreationParams, msuigothicCreationParams, (AtomicString("MS UI Gothic", AtomicString::ConstructFromLiteral)));
|
| + DEFINE_STATIC_LOCAL(const FontFaceCreationParams, msuigothicCreationParams, (AtomicString("MS UI Gothic")));
|
| fontPlatformData = getFontPlatformData(description, msuigothicCreationParams);
|
| }
|
| if (!fontPlatformData) {
|
| - DEFINE_STATIC_LOCAL(const FontFaceCreationParams, mssansserifCreationParams, (AtomicString("Microsoft Sans Serif", AtomicString::ConstructFromLiteral)));
|
| + DEFINE_STATIC_LOCAL(const FontFaceCreationParams, mssansserifCreationParams, (AtomicString("Microsoft Sans Serif")));
|
| fontPlatformData = getFontPlatformData(description, mssansserifCreationParams);
|
| }
|
| #endif
|
|
|