Index: shell/android/library_loader.cc |
diff --git a/shell/android/library_loader.cc b/shell/android/library_loader.cc |
index f642f9c3c47cbf2e7ce8c72cf4b32ca304e4b1a9..986d53faea3ea9152dc8ac5500afd8d448a84f09 100644 |
--- a/shell/android/library_loader.cc |
+++ b/shell/android/library_loader.cc |
@@ -7,6 +7,7 @@ |
#include "base/android/jni_android.h" |
#include "base/android/jni_registrar.h" |
#include "base/bind.h" |
+#include "mojo/android/system/core_impl.h" |
#include "services/native_viewport/platform_viewport_android.h" |
#include "shell/android/android_handler.h" |
#include "shell/android/intent_receiver_manager_impl.h" |
@@ -28,6 +29,9 @@ bool RegisterJNI(JNIEnv* env) { |
if (!base::android::RegisterJni(env)) |
return false; |
+ if (!mojo::android::RegisterCoreImpl(env)) |
+ return false; |
+ |
return RegisterNativeMethods(env, kMojoRegisteredMethods, |
arraysize(kMojoRegisteredMethods)); |
} |