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