Index: android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellActivity.java |
diff --git a/android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellActivity.java b/android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellActivity.java |
index a252627f2e7bc8a3f48ce5e8aff672c1caf7a324..1e1a3eb7a9636fc6423c113e7856c3b976cceaf6 100644 |
--- a/android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellActivity.java |
+++ b/android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellActivity.java |
@@ -29,6 +29,7 @@ import org.chromium.android_webview.AwBrowserProcess; |
import org.chromium.android_webview.AwBrowserContext; |
import org.chromium.android_webview.AwContents; |
import org.chromium.android_webview.AwContentsClient; |
+import org.chromium.android_webview.AwLayoutSizer; |
import org.chromium.android_webview.test.AwTestContainerView; |
import org.chromium.android_webview.test.NullContentsClient; |
import org.chromium.content.browser.LoadUrlParams; |
@@ -89,7 +90,7 @@ public class AwShellActivity extends Activity { |
} |
testContainerView.initialize(new AwContents(mBrowserContext, testContainerView, |
testContainerView.getInternalAccessDelegate(), |
- awContentsClient, false)); |
+ awContentsClient, false, new AwLayoutSizer(), true)); |
testContainerView.getAwContents().getSettings().setJavaScriptEnabled(true); |
return testContainerView; |
} |