| Index: third_party/WebKit/Source/platform/fonts/FontCache.h
|
| diff --git a/third_party/WebKit/Source/platform/fonts/FontCache.h b/third_party/WebKit/Source/platform/fonts/FontCache.h
|
| index 1e0ff6a8f1aa1f5df54df51a4fa76795cd8fd7fc..8b5febdd8da341f0bc26437f107d5e8d122ceae1 100644
|
| --- a/third_party/WebKit/Source/platform/fonts/FontCache.h
|
| +++ b/third_party/WebKit/Source/platform/fonts/FontCache.h
|
| @@ -114,7 +114,7 @@ class PLATFORM_EXPORT FontCache {
|
| void invalidate();
|
|
|
| SkFontMgr* fontManager() { return m_fontManager.get(); }
|
| - static void setFontManager(const sk_sp<SkFontMgr>&);
|
| + static void setFontManager(sk_sp<SkFontMgr>);
|
|
|
| #if !OS(MACOSX)
|
| static const AtomicString& systemFontFamily();
|
| @@ -246,6 +246,7 @@ class PLATFORM_EXPORT FontCache {
|
|
|
| sk_sp<SkFontMgr> m_fontManager;
|
|
|
| + // A leaky owning bare pointer.
|
| static SkFontMgr* s_staticFontManager;
|
|
|
| #if OS(WIN)
|
|
|