diff options
Diffstat (limited to 'Source/WebCore/platform/graphics/blackberry/TextureCacheCompositingThread.cpp')
-rw-r--r-- | Source/WebCore/platform/graphics/blackberry/TextureCacheCompositingThread.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/WebCore/platform/graphics/blackberry/TextureCacheCompositingThread.cpp b/Source/WebCore/platform/graphics/blackberry/TextureCacheCompositingThread.cpp index 5b6bb8736..d65c4dadd 100644 --- a/Source/WebCore/platform/graphics/blackberry/TextureCacheCompositingThread.cpp +++ b/Source/WebCore/platform/graphics/blackberry/TextureCacheCompositingThread.cpp @@ -202,10 +202,10 @@ void TextureCacheCompositingThread::setMemoryUsage(size_t memoryUsage) PassRefPtr<Texture> TextureCacheCompositingThread::textureForTiledContents(const SkBitmap& contents, const IntRect& tileRect, const TileIndex& index, bool isOpaque) { HashMap<ContentsKey, TextureMap>::iterator it = m_cache.add(key(contents), TextureMap()).iterator; - TextureMap& map = (*it).second; + TextureMap& map = (*it).value; TextureMap::iterator jt = map.add(index, RefPtr<Texture>()).iterator; - RefPtr<Texture> texture = (*jt).second; + RefPtr<Texture> texture = (*jt).value; if (!texture) { texture = createTexture(); #if DEBUG_TEXTURE_MEMORY_USAGE @@ -244,7 +244,7 @@ PassRefPtr<Texture> TextureCacheCompositingThread::textureForColor(const Color& #endif m_colors.set(color, texture); } else - texture = (*it).second; + texture = (*it).value; // Color textures can't be evicted, so no need for TextureProtector. |