Index: third_party/WebKit/Source/platform/fonts/FontCache.cpp |
diff --git a/third_party/WebKit/Source/platform/fonts/FontCache.cpp b/third_party/WebKit/Source/platform/fonts/FontCache.cpp |
index f2ab8a152c7f5a1a5c48603177b61ad4366bf0d5..06006099a5e101b0b1c83d682f979cb1b35957c7 100644 |
--- a/third_party/WebKit/Source/platform/fonts/FontCache.cpp |
+++ b/third_party/WebKit/Source/platform/fonts/FontCache.cpp |
@@ -297,9 +297,9 @@ |
HeapHashSet<WeakMember<FontCacheClient>>& fontCacheClients() |
{ |
- DEFINE_STATIC_LOCAL(HeapHashSet<WeakMember<FontCacheClient>>, clients, (new HeapHashSet<WeakMember<FontCacheClient>>)); |
+ DEFINE_STATIC_LOCAL(Persistent<HeapHashSet<WeakMember<FontCacheClient>>>, clients, (new HeapHashSet<WeakMember<FontCacheClient>>())); |
invalidateFontCache = true; |
- return clients; |
+ return *clients; |
} |
void FontCache::addClient(FontCacheClient* client) |