am 17b14bd3: DO NOT MERGE

Merge commit '17b14bd36aba265ac6bffc2626d8db29713d7c45' into eclair-plus-aosp

* commit '17b14bd36aba265ac6bffc2626d8db29713d7c45':
  DO NOT MERGE
This commit is contained in:
Grace Kloba
2010-01-18 23:43:32 -08:00
committed by Android Git Automerger

View File

@@ -5194,8 +5194,9 @@ public class WebView extends AbsoluteLayout
mPictureListener.onNewPicture(WebView.this, capturePicture());
}
if (useWideViewport) {
mZoomOverviewWidth = Math.max(draw.mMinPrefWidth,
draw.mViewPoint.x);
mZoomOverviewWidth = Math.max(
(int) (viewWidth / mDefaultScale), Math.max(
draw.mMinPrefWidth, draw.mViewPoint.x));
}
if (!mMinZoomScaleFixed) {
mMinZoomScale = (float) viewWidth / mZoomOverviewWidth;