| Index: android_webview/java/src/org/chromium/android_webview/AwContents.java
|
| diff --git a/android_webview/java/src/org/chromium/android_webview/AwContents.java b/android_webview/java/src/org/chromium/android_webview/AwContents.java
|
| index 8338559035220c8762571e0d4a9627c13eeb1464..db5cbf329509edd8de0fbd7a8e1bb394239016bd 100644
|
| --- a/android_webview/java/src/org/chromium/android_webview/AwContents.java
|
| +++ b/android_webview/java/src/org/chromium/android_webview/AwContents.java
|
| @@ -421,16 +421,15 @@ public class AwContents {
|
| }
|
|
|
| @Override
|
| - public void setFixedLayoutSize(int widthDip, int heightDip) {
|
| - if (mNativeAwContents == 0) return;
|
| - nativeSetFixedLayoutSize(mNativeAwContents, widthDip, heightDip);
|
| - }
|
| -
|
| - @Override
|
| public boolean isLayoutParamsHeightWrapContent() {
|
| return mContainerView.getLayoutParams() != null &&
|
| mContainerView.getLayoutParams().height == ViewGroup.LayoutParams.WRAP_CONTENT;
|
| }
|
| +
|
| + @Override
|
| + public void setForceZeroLayoutHeight(boolean forceZeroHeight) {
|
| + getSettings().setForceZeroLayoutHeight(forceZeroHeight);
|
| + }
|
| }
|
|
|
| //--------------------------------------------------------------------------------------------
|
| @@ -2471,8 +2470,6 @@ public class AwContents {
|
| private native void nativeOnAttachedToWindow(long nativeAwContents, int w, int h);
|
| private static native void nativeOnDetachedFromWindow(long nativeAwContents);
|
| private native void nativeSetDipScale(long nativeAwContents, float dipScale);
|
| - private native void nativeSetFixedLayoutSize(long nativeAwContents,
|
| - int widthDip, int heightDip);
|
|
|
| // Returns null if save state fails.
|
| private native byte[] nativeGetOpaqueState(long nativeAwContents);
|
|
|