| 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 b863c7102127f79f2082b8638bb8d9daf0c1db73..0ac96452675abc570e699bc2bc2cb377830ec5c3 100644
|
| --- a/third_party/WebKit/Source/platform/fonts/FontCache.cpp
|
| +++ b/third_party/WebKit/Source/platform/fonts/FontCache.cpp
|
| @@ -394,9 +394,9 @@ void FontCache::invalidateShapeCache() {
|
| }
|
|
|
| void FontCache::purge(PurgeSeverity PurgeSeverity) {
|
| - // We should never be forcing the purge while the FontCachePurgePreventer is
|
| - // in scope.
|
| - ASSERT(!m_purgePreventCount || PurgeSeverity == PurgeIfNeeded);
|
| + // Ideally we should never be forcing the purge while the
|
| + // FontCachePurgePreventer is in scope, but we call purge() at any timing
|
| + // via MemoryCoordinator.
|
| if (m_purgePreventCount)
|
| return;
|
|
|
|
|