Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2369)

Unified Diff: android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellActivity.java

Issue 14271024: [Android WebView] Move the most of WebSettings into AwSettings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated findbugs issues Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}

Powered by Google App Engine
This is Rietveld 408576698