am 7c38077e: Merge "Fix inval issue" into jb-dev

* commit '7c38077edf73e3313bceccdbde1f78ed1bd14be2':
  Fix inval issue
This commit is contained in:
John Reck
2012-05-09 01:46:51 -07:00
committed by Android Git Automerger

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.