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

Merge commit '9f4baf308daebbad0d3a634b158f3eb4ae532d39' into eclair-mr2-plus-aosp

* commit '9f4baf308daebbad0d3a634b158f3eb4ae532d39':
  Use computeVerticalScrollRange() to find the bottom
This commit is contained in:
Grace Kloba
2009-11-11 17:27:56 -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();