| 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 5be2743637c2040ca4659e566221a3c0949e312b..d1f94c50c994e3757bb477bb48c759651c853fe1 100644
|
| --- a/android_webview/java/src/org/chromium/android_webview/AwContents.java
|
| +++ b/android_webview/java/src/org/chromium/android_webview/AwContents.java
|
| @@ -490,7 +490,7 @@ public class AwContents {
|
| mLayoutSizer.setDelegate(new AwLayoutSizerDelegate());
|
| mLayoutSizer.setDIPScale(mDIPScale);
|
| mWebContentsDelegate = new AwWebContentsDelegateAdapter(contentsClient,
|
| - mLayoutSizer.getPreferredSizeChangedListener());
|
| + supportsLegacyQuirks ? null : mLayoutSizer.getPreferredSizeChangedListener());
|
| mContentsClientBridge = new AwContentsClientBridge(contentsClient);
|
| mZoomControls = new AwZoomControls(this);
|
| mIoThreadClient = new IoThreadClientImpl();
|
| @@ -1782,6 +1782,12 @@ public class AwContents {
|
| }
|
|
|
| @CalledByNative
|
| + private void onWebLayoutContentsSizeChanged(int widthCss, int heightCss) {
|
| + // This change notification comes from the renderer thread, not from the cc/ impl thread.
|
| + mLayoutSizer.onContentSizeChanged(widthCss, heightCss);
|
| + }
|
| +
|
| + @CalledByNative
|
| private void scrollContainerViewTo(int x, int y) {
|
| mScrollOffsetManager.scrollContainerViewTo(x, y);
|
| }
|
|
|