summaryrefslogtreecommitdiffstats
path: root/WebCore
diff options
context:
space:
mode:
authorNicolas Roard <nicolasroard@google.com>2011-03-31 16:14:55 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2011-03-31 16:14:55 -0700
commit23bd36833db1bee032bbf7c058fa390f453097cc (patch)
treeb67b9960c725dbec097c734a314fc5dfed9a5735 /WebCore
parent507fe41e8dc930e615659737a60fe242171a2d21 (diff)
parent39ff342cb3755bb7529c775a6d15b1ccbbe9be6a (diff)
downloadexternal_webkit-23bd36833db1bee032bbf7c058fa390f453097cc.zip
external_webkit-23bd36833db1bee032bbf7c058fa390f453097cc.tar.gz
external_webkit-23bd36833db1bee032bbf7c058fa390f453097cc.tar.bz2
am 39ff342c: Fix regression impacting Flash performances
* commit '39ff342cb3755bb7529c775a6d15b1ccbbe9be6a': Fix regression impacting Flash performances
Diffstat (limited to 'WebCore')
-rw-r--r--WebCore/platform/graphics/android/LayerAndroid.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/platform/graphics/android/LayerAndroid.cpp b/WebCore/platform/graphics/android/LayerAndroid.cpp
index 433e7ec..6a43745 100644
--- a/WebCore/platform/graphics/android/LayerAndroid.cpp
+++ b/WebCore/platform/graphics/android/LayerAndroid.cpp
@@ -946,7 +946,7 @@ bool LayerAndroid::drawGL(GLWebViewState* glWebViewState, SkMatrix& matrix)
m_drawOpacity, true);
}
m_drawingTexture->consumerRelease();
- } else {
+ } else if (needsTexture()) {
m_dirty = true;
}