| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  * Copyright (C) 2006, 2008 Apple Inc. All rights reserved. | 2  * Copyright (C) 2006, 2008 Apple Inc. All rights reserved. | 
| 3  * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> | 3  * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> | 
| 4  * | 4  * | 
| 5  * Redistribution and use in source and binary forms, with or without | 5  * Redistribution and use in source and binary forms, with or without | 
| 6  * modification, are permitted provided that the following conditions | 6  * modification, are permitted provided that the following conditions | 
| 7  * are met: | 7  * are met: | 
| 8  * | 8  * | 
| 9  * 1.  Redistributions of source code must retain the above copyright | 9  * 1.  Redistributions of source code must retain the above copyright | 
| 10  *     notice, this list of conditions and the following disclaimer. | 10  *     notice, this list of conditions and the following disclaimer. | 
| (...skipping 28 matching lines...) Expand all  Loading... | 
| 39 #include "platform/fonts/FontDataCache.h" | 39 #include "platform/fonts/FontDataCache.h" | 
| 40 #include "platform/fonts/FontDescription.h" | 40 #include "platform/fonts/FontDescription.h" | 
| 41 #include "platform/fonts/FontFallbackList.h" | 41 #include "platform/fonts/FontFallbackList.h" | 
| 42 #include "platform/fonts/FontPlatformData.h" | 42 #include "platform/fonts/FontPlatformData.h" | 
| 43 #include "platform/fonts/FontSmoothingMode.h" | 43 #include "platform/fonts/FontSmoothingMode.h" | 
| 44 #include "platform/fonts/TextRenderingMode.h" | 44 #include "platform/fonts/TextRenderingMode.h" | 
| 45 #include "platform/fonts/opentype/OpenTypeVerticalData.h" | 45 #include "platform/fonts/opentype/OpenTypeVerticalData.h" | 
| 46 #include "wtf/HashMap.h" | 46 #include "wtf/HashMap.h" | 
| 47 #include "wtf/ListHashSet.h" | 47 #include "wtf/ListHashSet.h" | 
| 48 #include "wtf/StdLibExtras.h" | 48 #include "wtf/StdLibExtras.h" | 
|  | 49 #include "wtf/Vector.h" | 
| 49 #include "wtf/text/AtomicStringHash.h" | 50 #include "wtf/text/AtomicStringHash.h" | 
| 50 #include "wtf/text/StringHash.h" | 51 #include "wtf/text/StringHash.h" | 
| 51 | 52 | 
| 52 using namespace WTF; | 53 using namespace WTF; | 
| 53 | 54 | 
| 54 namespace blink { | 55 namespace blink { | 
| 55 | 56 | 
| 56 #if !OS(WIN) | 57 #if !OS(WIN) | 
| 57 FontCache::FontCache() | 58 FontCache::FontCache() | 
| 58     : m_purgePreventCount(0) | 59     : m_purgePreventCount(0) | 
| (...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 283         clients.append(*it); | 284         clients.append(*it); | 
| 284 | 285 | 
| 285     ASSERT(numClients == clients.size()); | 286     ASSERT(numClients == clients.size()); | 
| 286     for (size_t i = 0; i < numClients; ++i) | 287     for (size_t i = 0; i < numClients; ++i) | 
| 287         clients[i]->fontCacheInvalidated(); | 288         clients[i]->fontCacheInvalidated(); | 
| 288 | 289 | 
| 289     purge(ForcePurge); | 290     purge(ForcePurge); | 
| 290 } | 291 } | 
| 291 | 292 | 
| 292 } // namespace blink | 293 } // namespace blink | 
| OLD | NEW | 
|---|