Chromium Code Reviews| Index: Source/WebCore/platform/graphics/chromium/TextureManager.cpp |
| =================================================================== |
| --- Source/WebCore/platform/graphics/chromium/TextureManager.cpp (revision 93831) |
| +++ Source/WebCore/platform/graphics/chromium/TextureManager.cpp (working copy) |
| @@ -85,7 +85,6 @@ |
| void TextureManager::protectTexture(TextureToken token) |
| { |
| ASSERT(hasTexture(token)); |
| - ASSERT(!m_textures.get(token).isProtected); |
|
enne (OOO)
2011/08/26 22:17:03
Nit: This doesn't seem necessary. Maybe you didn'
|
| TextureInfo info = m_textures.take(token); |
| info.isProtected = true; |
| m_textures.add(token, info); |