Merge "Fix typo preventing layers from scrolling to top"

This commit is contained in:
John Reck
2012-03-30 09:20:14 -07:00
committed by Android (Google) Code Review

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) {