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 5b9e9c2edc47e8e4afb9b7e7f274a1067c3c0d80..9208ac4499d472e7050295c73f450646bdf44527 100644 |
--- a/third_party/WebKit/Source/platform/fonts/FontCache.cpp |
+++ b/third_party/WebKit/Source/platform/fonts/FontCache.cpp |
@@ -451,12 +451,8 @@ |
HeapVector<Member<FontCacheClient>> clients; |
copyToVector(fontCacheClients(), clients); |
- for (const auto& client : clients) { |
- // This should not be nullptr, but to see if checking nullptr can suppress |
- // crashes. crbug.com/581698 |
- if (client) |
- client->fontCacheInvalidated(); |
- } |
+ for (const auto& client : clients) |
+ client->fontCacheInvalidated(); |
purge(ForcePurge); |
} |