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 e09259b0dde7c512091a63f5aeb50f51b2d2a8da..7a6eb510b2ec27ccdf43f965ca7b028e875413cc 100644 |
--- a/android_webview/java/src/org/chromium/android_webview/AwLayoutSizer.java |
+++ b/android_webview/java/src/org/chromium/android_webview/AwLayoutSizer.java |
@@ -58,22 +58,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() { |