Skip to content

Commit 0bb0198

Browse files
committed
Fix inval issue
Bug: 6323847 Change-Id: Ibe9fc46af597cd97ae76339533faacfaa6d952fc
1 parent ff0e8cd commit 0bb0198

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

core/java/android/webkit/WebViewClassic.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2979,7 +2979,10 @@ private void recordNewContentSize(int w, int h, boolean updateLayout) {
29792979
// updated when we get out of that mode.
29802980
if (!mDrawHistory) {
29812981
// repin our scroll, taking into account the new content size
2982-
updateScrollCoordinates(pinLocX(getScrollX()), pinLocY(getScrollY()));
2982+
if (updateScrollCoordinates(pinLocX(getScrollX()),
2983+
pinLocY(getScrollY()))) {
2984+
invalidate();
2985+
}
29832986
if (!mScroller.isFinished()) {
29842987
// We are in the middle of a scroll. Repin the final scroll
29852988
// position.

0 commit comments

Comments
 (0)