summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/android/GLWebViewState.cpp
diff options
context:
space:
mode:
authorNicolas Roard <nicolas@android.com>2011-01-29 15:01:37 -0800
committerNicolas Roard <nicolas@android.com>2011-01-29 15:03:43 -0800
commitc16810901e8ee3f344e98477aebd306ce8cbeec1 (patch)
tree6d6ed4064bfa65cd2fb486e78546de803275004c /WebCore/platform/graphics/android/GLWebViewState.cpp
parent3deda57a53a7cfddfdb7a7d3eb3e781d454d7053 (diff)
downloadexternal_webkit-c16810901e8ee3f344e98477aebd306ce8cbeec1.zip
external_webkit-c16810901e8ee3f344e98477aebd306ce8cbeec1.tar.gz
external_webkit-c16810901e8ee3f344e98477aebd306ce8cbeec1.tar.bz2
Fix for the draw extras -- we don't repaint enough in some cases.
bug:3387206 bug:3396281 Change-Id: I059ae2ce1f95e9d8e1662abf11337c6b58031e66
Diffstat (limited to 'WebCore/platform/graphics/android/GLWebViewState.cpp')
-rw-r--r--WebCore/platform/graphics/android/GLWebViewState.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/platform/graphics/android/GLWebViewState.cpp b/WebCore/platform/graphics/android/GLWebViewState.cpp
index e873d4c..fa1b055 100644
--- a/WebCore/platform/graphics/android/GLWebViewState.cpp
+++ b/WebCore/platform/graphics/android/GLWebViewState.cpp
@@ -147,7 +147,7 @@ void GLWebViewState::setExtra(BaseLayerAndroid* layer, SkPicture& picture,
if (!rect.isEmpty())
inval(rect);
- else if (!m_lastInval.isEmpty())
+ if (!m_lastInval.isEmpty())
inval(m_lastInval);
m_lastInval = rect;
}