Fix inval issue

Bug: 6323847

Change-Id: Ibe9fc46af597cd97ae76339533faacfaa6d952fc
This commit is contained in:
John Reck
2012-05-08 09:08:50 -07:00
parent ff0e8cd8b6
commit 0bb0198d5b

View File

@ -2979,7 +2979,10 @@ public final class WebViewClassic implements WebViewProvider, WebViewProvider.Sc
// updated when we get out of that mode.
if (!mDrawHistory) {
// repin our scroll, taking into account the new content size
updateScrollCoordinates(pinLocX(getScrollX()), pinLocY(getScrollY()));
if (updateScrollCoordinates(pinLocX(getScrollX()),
pinLocY(getScrollY()))) {
invalidate();
}
if (!mScroller.isFinished()) {
// We are in the middle of a scroll. Repin the final scroll
// position.