Index: android_webview/java/src/org/chromium/android_webview/AwLayoutSizer.java |
diff --git a/android_webview/java/src/org/chromium/android_webview/AwLayoutSizer.java b/android_webview/java/src/org/chromium/android_webview/AwLayoutSizer.java |
index bee46a14c1c4ca7ec87174ea9953d5b7b4359cc3..d3b42d55c600c3f77b548ac81ec8f1d78b15efc2 100644 |
--- a/android_webview/java/src/org/chromium/android_webview/AwLayoutSizer.java |
+++ b/android_webview/java/src/org/chromium/android_webview/AwLayoutSizer.java |
@@ -68,22 +68,6 @@ public class AwLayoutSizer { |
} |
/** |
- * This is used to register the AwLayoutSizer to preferred content size change notifications in |
- * the AwWebContentsDelegate. |
- * NOTE: The preferred size notifications come in from the Renderer main thread and might be |
- * out of sync with the content size as seen by the InProcessViewRenderer (and Compositor). |
- */ |
- public AwWebContentsDelegateAdapter.PreferredSizeChangedListener |
- getPreferredSizeChangedListener() { |
- return new AwWebContentsDelegateAdapter.PreferredSizeChangedListener() { |
- @Override |
- public void updatePreferredSize(int widthCss, int heightCss) { |
- onContentSizeChanged(widthCss, heightCss); |
- } |
- }; |
- } |
- |
- /** |
* Postpone requesting layouts till unfreezeLayoutRequests is called. |
*/ |
public void freezeLayoutRequests() { |