Index: android_webview/javatests/src/org/chromium/android_webview/test/CookieManagerTest.java |
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/CookieManagerTest.java b/android_webview/javatests/src/org/chromium/android_webview/test/CookieManagerTest.java |
index 744550afe36471ebc1c11b0b68e46b5c918257c6..cb5fe8e8ce6a42b9a7112b58fb1bc9442a6506aa 100644 |
--- a/android_webview/javatests/src/org/chromium/android_webview/test/CookieManagerTest.java |
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/CookieManagerTest.java |
@@ -44,7 +44,7 @@ public class CookieManagerTest extends AwTestBase { |
final AwTestContainerView testContainerView = |
createAwTestContainerViewOnMainSync(mContentsClient); |
mAwContents = testContainerView.getAwContents(); |
- mAwContents.getContentViewCore().getContentSettings().setJavaScriptEnabled(true); |
+ mAwContents.getSettings().setJavaScriptEnabled(true); |
assertNotNull(mCookieManager); |
} |