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 783ade535005fa1e19b4cc48a1144ca561d381fe..e2d6dcf004c7b71102a7d22162a6669e4f6ccaf0 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 |
@@ -88,7 +88,7 @@ public class AwShellActivity extends Activity { |
testContainerView.initialize(new AwContents(browserContext, testContainerView, |
testContainerView.getInternalAccessDelegate(), |
awContentsClient, false)); |
- testContainerView.getContentViewCore().getContentSettings().setJavaScriptEnabled(true); |
+ testContainerView.getAwContents().getSettings().setJavaScriptEnabled(true); |
return testContainerView; |
} |