Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(962)

Unified Diff: shell/android/library_loader.cc

Issue 806873002: Do not register AndroidHandler's native methods eagerly. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/android/library_loader.cc
diff --git a/shell/android/library_loader.cc b/shell/android/library_loader.cc
index 5a841b260f17bd0f3d4fca155c85469ee14ebc34..963e285e7bbc661b3c89dbb3c7f2743006c0f18c 100644
--- a/shell/android/library_loader.cc
+++ b/shell/android/library_loader.cc
@@ -41,8 +41,5 @@ JNI_EXPORT jint JNI_OnLoad(JavaVM* vm, void* reserved) {
if (!RegisterMojoJni(env))
return -1;
- if (!mojo::RegisterAndroidHandlerJni(env))
- return -1;
-
return JNI_VERSION_1_4;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698