am d7439f4b: Use computeVerticalScrollRange() to find the bottom of the page as mContentHeight is not in the view system.

Merge commit 'd7439f4bdb31d005011b69112e82a9fed9be4470' into eclair-mr2

* commit 'd7439f4bdb31d005011b69112e82a9fed9be4470':
  Use computeVerticalScrollRange() to find the bottom
This commit is contained in:
Grace Kloba
2009-11-11 17:14:10 -08:00
committed by Android Git Automerger

View File

@@ -1537,7 +1537,7 @@ public class WebView extends AbsoluteLayout
}
nativeClearCursor(); // start next trackball movement from page edge
if (bottom) {
return pinScrollTo(mScrollX, mContentHeight, true, 0);
return pinScrollTo(mScrollX, computeVerticalScrollRange(), true, 0);
}
// Page down.
int h = getHeight();