Index: third_party/WebKit/Source/platform/fonts/linux/FontCacheLinux.cpp |
diff --git a/third_party/WebKit/Source/platform/fonts/linux/FontCacheLinux.cpp b/third_party/WebKit/Source/platform/fonts/linux/FontCacheLinux.cpp |
index 4b51489187fbea7431d364d8964d8bc4c04ec452..a96b8bacd6ee06673d77289d17e95ae51295ba1f 100644 |
--- a/third_party/WebKit/Source/platform/fonts/linux/FontCacheLinux.cpp |
+++ b/third_party/WebKit/Source/platform/fonts/linux/FontCacheLinux.cpp |
@@ -34,14 +34,8 @@ |
namespace blink { |
-FontCache::FontCache() : m_purgePreventCount(0) { |
- if (s_staticFontManager) { |
- adopted(s_staticFontManager); |
- m_fontManager = sk_ref_sp(s_staticFontManager); |
- } else { |
- m_fontManager = nullptr; |
- } |
-} |
+FontCache::FontCache() |
+ : m_purgePreventCount(0), m_fontManager(sk_ref_sp(s_staticFontManager)) {} |
static AtomicString& mutableSystemFontFamily() { |
DEFINE_STATIC_LOCAL(AtomicString, systemFontFamily, ()); |