Chromium Code Reviews| Index: android_webview/glue/java/src/com/android/webview/chromium/WebViewChromiumFactoryProvider.java |
| diff --git a/android_webview/glue/java/src/com/android/webview/chromium/WebViewChromiumFactoryProvider.java b/android_webview/glue/java/src/com/android/webview/chromium/WebViewChromiumFactoryProvider.java |
| index e78808be92430272ef31be2051599c25764e14b8..94ed1b6e25276c50f4db4f16476ad7b6498c8b88 100644 |
| --- a/android_webview/glue/java/src/com/android/webview/chromium/WebViewChromiumFactoryProvider.java |
| +++ b/android_webview/glue/java/src/com/android/webview/chromium/WebViewChromiumFactoryProvider.java |
| @@ -192,8 +192,7 @@ public class WebViewChromiumFactoryProvider implements WebViewFactoryProvider { |
| // WebView needs to make sure to always use the wrapped application context. |
| ContextUtils.initApplicationContext( |
| - ResourcesContextWrapperFactory.get( |
| - mWebViewDelegate.getApplication().getApplicationContext())); |
| + ResourcesContextWrapperFactory.get(mWebViewDelegate.getApplication())); |
|
boliu
2016/08/15 21:16:38
while I don't necessarily think this is wrong, why
Peter Wen
2016/08/15 21:49:54
We want the application object to be cached if .ge
boliu
2016/08/15 22:21:32
That's not true.. If app intentionally wraps getAp
|
| if (isBuildDebuggable()) { |
| // Suppress the StrictMode violation as this codepath is only hit on debuggable builds. |