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

Unified Diff: remoting/client/jni/remoting_jni_onload.cc

Issue 2919553004: Remove base::android::OnJNIOnLoadRegisterJNI() (Closed)
Patch Set: remove unused Callback Created 3 years, 7 months 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 | « net/test/android/net_test_jni_onload.cc ('k') | testing/android/native_test/native_test_jni_onload.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/jni/remoting_jni_onload.cc
diff --git a/remoting/client/jni/remoting_jni_onload.cc b/remoting/client/jni/remoting_jni_onload.cc
index b4fa7c07707113e6baa8df60e9248edf76021c7e..9db79a83c5cc7b35864a95e46a6b755a0eeeba53 100644
--- a/remoting/client/jni/remoting_jni_onload.cc
+++ b/remoting/client/jni/remoting_jni_onload.cc
@@ -32,8 +32,7 @@ bool RegisterJNI(JNIEnv* env) {
JNIEXPORT jint JNI_OnLoad(JavaVM* vm, void* reserved) {
base::android::InitVM(vm);
JNIEnv* env = base::android::AttachCurrentThread();
- if (!base::android::OnJNIOnLoadRegisterJNI(env) || !RegisterJNI(env) ||
- !base::android::OnJNIOnLoadInit()) {
+ if (!RegisterJNI(env) || !base::android::OnJNIOnLoadInit()) {
return -1;
}
return JNI_VERSION_1_4;
« no previous file with comments | « net/test/android/net_test_jni_onload.cc ('k') | testing/android/native_test/native_test_jni_onload.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698