| Index: chrome/browser/android/chrome_entry_point.cc
|
| diff --git a/chrome/browser/android/chrome_entry_point.cc b/chrome/browser/android/chrome_entry_point.cc
|
| index 4a540518ea52b1de61bebefb9d50edf12251fa6c..fad7aa7ccaaa4917bf50f94b061b6f83d672fc43 100644
|
| --- a/chrome/browser/android/chrome_entry_point.cc
|
| +++ b/chrome/browser/android/chrome_entry_point.cc
|
| @@ -10,16 +10,8 @@
|
|
|
| namespace {
|
|
|
| -bool RegisterJNI(JNIEnv* env) {
|
| - return true;
|
| -}
|
| -
|
| -bool Init() {
|
| - return true;
|
| -}
|
| -
|
| bool NativeInit() {
|
| - return android::OnJNIOnLoadInit(base::Bind(&Init));
|
| + return android::OnJNIOnLoadInit();
|
| }
|
|
|
| } // namespace
|
| @@ -35,7 +27,7 @@ JNI_EXPORT jint JNI_OnLoad(JavaVM* vm, void* reserved) {
|
| base::android::SetJniRegistrationType(
|
| base::android::SELECTIVE_JNI_REGISTRATION);
|
| }
|
| - if (!android::OnJNIOnLoadRegisterJNI(vm, base::Bind(&RegisterJNI))) {
|
| + if (!android::OnJNIOnLoadRegisterJNI(env)) {
|
| return -1;
|
| }
|
| base::android::SetNativeInitializationHook(NativeInit);
|
|
|