Skip to content

Commit 7c38077

Browse files
jreckAndroid (Google) Code Review
authored andcommitted
Merge "Fix inval issue" into jb-dev
2 parents 975b9b7 + 0bb0198 commit 7c38077

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)