Index: android_webview/lib/main/webview_jni_onload_delegate.cc |
diff --git a/android_webview/lib/main/webview_jni_onload_delegate.cc b/android_webview/lib/main/webview_jni_onload_delegate.cc |
index 5b1d1c7b7f204f74a2d9ae9969b8016d42e23176..94be6ab334b2f170f3f42320ca57e9a7321c7df2 100644 |
--- a/android_webview/lib/main/webview_jni_onload_delegate.cc |
+++ b/android_webview/lib/main/webview_jni_onload_delegate.cc |
@@ -8,7 +8,6 @@ |
#include "android_webview/native/android_webview_jni_registrar.h" |
#include "base/android/jni_android.h" |
#include "base/android/jni_registrar.h" |
-#include "base/android/jni_utils.h" |
#include "components/navigation_interception/component_jni_registrar.h" |
#include "components/web_contents_delegate_android/component_jni_registrar.h" |
#include "content/public/app/content_jni_onload.h" |
@@ -42,10 +41,6 @@ bool WebViewJNIOnLoadDelegate::RegisterJNI(JNIEnv* env) { |
} |
bool WebViewJNIOnLoadDelegate::Init() { |
- JNIEnv* env = base::android::AttachCurrentThread(); |
- base::android::InitReplacementClassLoader(env, |
- base::android::GetClassLoader(env)); |
- |
content::SetContentMainDelegate(new android_webview::AwMainDelegate()); |
// Initialize url lib here while we are still single-threaded, in case we use |