Index: chrome/app/android/chrome_main_delegate_android.cc |
diff --git a/chrome/app/android/chrome_main_delegate_android.cc b/chrome/app/android/chrome_main_delegate_android.cc |
index e0bd8e477784665ad0489d79f5a16572d5b0d38c..e98b192aa26adf724f9c909ca88adfabda9a5021 100644 |
--- a/chrome/app/android/chrome_main_delegate_android.cc |
+++ b/chrome/app/android/chrome_main_delegate_android.cc |
@@ -6,7 +6,6 @@ |
#include "base/android/jni_android.h" |
#include "base/trace_event/trace_event.h" |
-#include "chrome/browser/android/chrome_jni_registrar.h" |
#include "chrome/browser/android/chrome_startup_flags.h" |
#include "chrome/browser/android/uma_utils.h" |
#include "components/startup_metric_utils/startup_metric_utils.h" |
@@ -31,9 +30,6 @@ int ChromeMainDelegateAndroid::RunProcess( |
const content::MainFunctionParams& main_function_params) { |
TRACE_EVENT0("startup", "ChromeMainDelegateAndroid::RunProcess") |
if (process_type.empty()) { |
- JNIEnv* env = base::android::AttachCurrentThread(); |
- RegisterApplicationNativeMethods(env); |
- |
// Because the browser process can be started asynchronously as a series of |
// UI thread tasks a second request to start it can come in while the |
// first request is still being processed. Chrome must keep the same |
@@ -55,7 +51,3 @@ bool ChromeMainDelegateAndroid::BasicStartupComplete(int* exit_code) { |
SetChromeSpecificCommandLineFlags(); |
return ChromeMainDelegate::BasicStartupComplete(exit_code); |
} |
- |
-bool ChromeMainDelegateAndroid::RegisterApplicationNativeMethods(JNIEnv* env) { |
- return chrome::android::RegisterJni(env); |
-} |