Index: android_webview/javatests/src/org/chromium/android_webview/test/AwTestBase.java |
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/AwTestBase.java b/android_webview/javatests/src/org/chromium/android_webview/test/AwTestBase.java |
index 0c1d1e0cba1c6eea67d3585c24e8c4e08819a153..69a2c50a97af54050d3490f4b7979c14209cb5de 100644 |
--- a/android_webview/javatests/src/org/chromium/android_webview/test/AwTestBase.java |
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/AwTestBase.java |
@@ -71,7 +71,7 @@ public class AwTestBase |
getInstrumentation().runOnMainSync(new Runnable() { |
@Override |
public void run() { |
- awContents.getContentViewCore().getContentSettings().setJavaScriptEnabled(true); |
+ awContents.getSettings().setJavaScriptEnabled(true); |
} |
}); |
} |