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

Unified Diff: android_webview/java/src/org/chromium/android_webview/AwSettings.java

Issue 2278303002: Remove the allow-displaying-mixed-content setting from Blink. (Closed)
Patch Set: Fixed missign deprecated preference registration. Created 4 years, 3 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
« no previous file with comments | « no previous file | android_webview/native/aw_settings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/java/src/org/chromium/android_webview/AwSettings.java
diff --git a/android_webview/java/src/org/chromium/android_webview/AwSettings.java b/android_webview/java/src/org/chromium/android_webview/AwSettings.java
index ea93c487e7361672424d75e3a878d6b2ebc4c5c2..aaab5b6f3efd531668204afe9840f4cde9aa1757 100644
--- a/android_webview/java/src/org/chromium/android_webview/AwSettings.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwSettings.java
@@ -1637,10 +1637,9 @@ public class AwSettings {
}
@CalledByNative
- private boolean getAllowDisplayingInsecureContentLocked() {
+ private boolean getUseStricMixedContentCheckingLocked() {
assert Thread.holdsLock(mAwSettingsLock);
- return mMixedContentMode == WebSettings.MIXED_CONTENT_ALWAYS_ALLOW
- || mMixedContentMode == WebSettings.MIXED_CONTENT_COMPATIBILITY_MODE;
+ return mMixedContentMode == WebSettings.MIXED_CONTENT_NEVER_ALLOW;
}
public boolean getOffscreenPreRaster() {
« no previous file with comments | « no previous file | android_webview/native/aw_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698