Fix typo preventing layers from scrolling to top

Bug: 6215597

Change-Id: Ie58e3aef29444d1c8dea424953d1b8e71ddf770b
This commit is contained in:
John Reck
2012-03-29 18:10:31 -07:00
parent a08f3e866a
commit e72620c2ff

View File

@@ -3877,7 +3877,7 @@ public final class WebViewClassic implements WebViewProvider, WebViewProvider.Sc
private void scrollLayerTo(int x, int y) {
int dx = mScrollingLayerRect.left - x;
int dy = mScrollingLayerRect.top - y;
if (dx == 0 && y == 0) {
if (dx == 0 && dy == 0) {
return;
}
if (mSelectingText) {