Skip to content

Commit 4da5c4a

Browse files
jreckAndroid (Google) Code Review
authored andcommitted
Merge "Fix typo preventing layers from scrolling to top"
2 parents ecc395a + e72620c commit 4da5c4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/java/android/webkit/WebViewClassic.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3877,7 +3877,7 @@ public void computeScroll() {
38773877
private void scrollLayerTo(int x, int y) {
38783878
int dx = mScrollingLayerRect.left - x;
38793879
int dy = mScrollingLayerRect.top - y;
3880-
if (dx == 0 && y == 0) {
3880+
if (dx == 0 && dy == 0) {
38813881
return;
38823882
}
38833883
if (mSelectingText) {

0 commit comments

Comments
 (0)