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

Unified Diff: third_party/gvr-android-sdk/native_callbacks_jni.h

Issue 2501193003: Selectively perform JNI registration in render processes on Android. (Closed)
Patch Set: Address Ted C comments Created 3 years, 11 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 | « third_party/gvr-android-sdk/gvr_api_jni.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/gvr-android-sdk/native_callbacks_jni.h
diff --git a/third_party/gvr-android-sdk/native_callbacks_jni.h b/third_party/gvr-android-sdk/native_callbacks_jni.h
index 7bbec0a562cbca6473ef7586daf68130c990db79..e5469f5f1a769f65a2386e017b88a2fb9428a274 100644
--- a/third_party/gvr-android-sdk/native_callbacks_jni.h
+++ b/third_party/gvr-android-sdk/native_callbacks_jni.h
@@ -265,7 +265,7 @@ static const JNINativeMethod kMethodsNativeCallbacks[] = {
};
static bool RegisterNativesImpl(JNIEnv* env) {
- if (base::android::IsManualJniRegistrationDisabled())
+ if (jni_generator::ShouldSkipJniRegistration(false))
return true;
const int kMethodsNativeCallbacksSize = arraysize(kMethodsNativeCallbacks);
« no previous file with comments | « third_party/gvr-android-sdk/gvr_api_jni.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698