Index: third_party/WebKit/Source/platform/fonts/mac/FontCacheMac.mm |
diff --git a/third_party/WebKit/Source/platform/fonts/mac/FontCacheMac.mm b/third_party/WebKit/Source/platform/fonts/mac/FontCacheMac.mm |
index 8bfc66949b72bc74876e94547baa144c80c6257f..c9b380ec0d570c2c0006a508b93a92c93a51fda7 100644 |
--- a/third_party/WebKit/Source/platform/fonts/mac/FontCacheMac.mm |
+++ b/third_party/WebKit/Source/platform/fonts/mac/FontCacheMac.mm |
@@ -186,7 +186,7 @@ PassRefPtr<SimpleFontData> FontCache::fallbackFontForCharacter( |
PassRefPtr<SimpleFontData> FontCache::getLastResortFallbackFont(const FontDescription& fontDescription, ShouldRetain shouldRetain) |
{ |
- DEFINE_STATIC_LOCAL(AtomicString, timesStr, ("Times", AtomicString::ConstructFromLiteral)); |
+ DEFINE_STATIC_LOCAL(AtomicString, timesStr, ("Times")); |
// FIXME: Would be even better to somehow get the user's default font here. For now we'll pick |
// the default that the user would get without changing any prefs. |
@@ -198,7 +198,7 @@ PassRefPtr<SimpleFontData> FontCache::getLastResortFallbackFont(const FontDescri |
// the user doesn't have it, we fall back on Lucida Grande because that's |
// guaranteed to be there, according to Nathan Taylor. This is good enough |
// to avoid a crash at least. |
- DEFINE_STATIC_LOCAL(AtomicString, lucidaGrandeStr, ("Lucida Grande", AtomicString::ConstructFromLiteral)); |
+ DEFINE_STATIC_LOCAL(AtomicString, lucidaGrandeStr, ("Lucida Grande")); |
return getFontData(fontDescription, lucidaGrandeStr, false, shouldRetain); |
} |