summaryrefslogtreecommitdiffstats
path: root/WebCore
diff options
context:
space:
mode:
authorNicolas Roard <nicolasroard@google.com>2011-03-18 16:58:13 -0700
committerNicolas Roard <nicolasroard@google.com>2011-03-18 16:58:46 -0700
commit93a2b8c50e4f5f46e9d345c259e20192e47443a5 (patch)
tree6e3e5ae4ad3cbd76cbcb6e3bc45e05bdc94d480e /WebCore
parentce96fa326fe12ce86fdb1a7b42032a86c1c2382a (diff)
downloadexternal_webkit-93a2b8c50e4f5f46e9d345c259e20192e47443a5.zip
external_webkit-93a2b8c50e4f5f46e9d345c259e20192e47443a5.tar.gz
external_webkit-93a2b8c50e4f5f46e9d345c259e20192e47443a5.tar.bz2
Fix for layers textures selection
bug:4136077 Change-Id: I2dabdf612e29c4e4c9a0b744ddecaeda7a537ba5
Diffstat (limited to 'WebCore')
-rw-r--r--WebCore/platform/graphics/android/LayerAndroid.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/WebCore/platform/graphics/android/LayerAndroid.cpp b/WebCore/platform/graphics/android/LayerAndroid.cpp
index 5d6bedd..ba63ba1 100644
--- a/WebCore/platform/graphics/android/LayerAndroid.cpp
+++ b/WebCore/platform/graphics/android/LayerAndroid.cpp
@@ -899,7 +899,8 @@ bool LayerAndroid::needsScheduleRepaint(LayerTexture* texture)
return false;
TextureInfo* textureInfo = texture->consumerLock();
- if (!texture->readyFor(this))
+ if (!texture->readyFor(this) ||
+ (texture->rect() != m_layerTextureRect))
m_dirty = true;
texture->consumerRelease();