summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}