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

Unified Diff: android_webview/glue/java/src/com/android/webview/chromium/WebViewChromium.java

Issue 2339343002: Android webview tries to switch to CE context (Closed)
Patch Set: 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
Index: android_webview/glue/java/src/com/android/webview/chromium/WebViewChromium.java
diff --git a/android_webview/glue/java/src/com/android/webview/chromium/WebViewChromium.java b/android_webview/glue/java/src/com/android/webview/chromium/WebViewChromium.java
index 4a3892673442c2b9ec08979ddb21ba8d4649b45a..f9ea7f48f53c63426dcff3dbb1a928760b0421c5 100644
--- a/android_webview/glue/java/src/com/android/webview/chromium/WebViewChromium.java
+++ b/android_webview/glue/java/src/com/android/webview/chromium/WebViewChromium.java
@@ -114,7 +114,8 @@ class WebViewChromium implements WebViewProvider, WebViewProvider.ScrollDelegate
// init is ofter called right after and is NOT threadsafe.
public WebViewChromium(WebViewChromiumFactoryProvider factory, WebView webView,
WebView.PrivateAccess webViewPrivate, boolean shouldDisableThreadChecking) {
- WebViewChromiumFactoryProvider.checkStorageIsNotDeviceProtected(webView.getContext());
+ WebViewChromiumFactoryProvider.switchStorageContextIfDeviceProtectedStorage(
Torne 2016/09/15 10:15:59 We explicitly *don't* want to allow a WebView to b
+ webView.getContext());
mWebView = webView;
mWebViewPrivate = webViewPrivate;
mHitTestResult = new WebView.HitTestResult();

Powered by Google App Engine
This is Rietveld 408576698