From 93a2b8c50e4f5f46e9d345c259e20192e47443a5 Mon Sep 17 00:00:00 2001 From: Nicolas Roard Date: Fri, 18 Mar 2011 16:58:13 -0700 Subject: [PATCH] Fix for layers textures selection bug:4136077 Change-Id: I2dabdf612e29c4e4c9a0b744ddecaeda7a537ba5 --- WebCore/platform/graphics/android/LayerAndroid.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/WebCore/platform/graphics/android/LayerAndroid.cpp b/WebCore/platform/graphics/android/LayerAndroid.cpp index 5d6bedd80..ba63ba125 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(); -- 2.11.0