| Index: Source/WebCore/platform/graphics/chromium/TextureManager.cpp
|
| ===================================================================
|
| --- Source/WebCore/platform/graphics/chromium/TextureManager.cpp (revision 122257)
|
| +++ Source/WebCore/platform/graphics/chromium/TextureManager.cpp (working copy)
|
| @@ -242,6 +242,13 @@
|
| m_evictedTextures.clear();
|
| }
|
|
|
| +void TextureManager::evictAndRemoveAllDeletedTextures()
|
| +{
|
| + unprotectAllTextures();
|
| + reduceMemoryToLimit(0);
|
| + m_evictedTextures.clear();
|
| +}
|
| +
|
| void TextureManager::evictAndDeleteAllTextures(TextureAllocator* allocator)
|
| {
|
| unprotectAllTextures();
|
|
|