Chromium Code Reviews| Index: Source/WebCore/platform/graphics/FontCache.cpp |
| =================================================================== |
| --- Source/WebCore/platform/graphics/FontCache.cpp (revision 139396) |
| +++ Source/WebCore/platform/graphics/FontCache.cpp (working copy) |
| @@ -355,6 +355,8 @@ |
| FontDataCache::iterator it = gFontDataCache->find(fontData->platformData()); |
| ASSERT(it != gFontDataCache->end()); |
| + if (it == gFontDataCache->end()) |
| + return; |
| ASSERT(it->value.second); |
| if (!--it->value.second) |