diff options
author | Nicolas Roard <nicolas@android.com> | 2011-01-29 15:01:37 -0800 |
---|---|---|
committer | Nicolas Roard <nicolas@android.com> | 2011-01-29 15:03:43 -0800 |
commit | c16810901e8ee3f344e98477aebd306ce8cbeec1 (patch) | |
tree | 6d6ed4064bfa65cd2fb486e78546de803275004c /WebCore/platform/graphics/android/GLWebViewState.cpp | |
parent | 3deda57a53a7cfddfdb7a7d3eb3e781d454d7053 (diff) | |
download | external_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.cpp | 2 |
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; } |