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

Unified Diff: third_party/gvr-android-sdk/gvr_api_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
Index: third_party/gvr-android-sdk/gvr_api_jni.h
diff --git a/third_party/gvr-android-sdk/gvr_api_jni.h b/third_party/gvr-android-sdk/gvr_api_jni.h
index 0c91a9a07c1b8647fe9cd047b283a432249a5e0f..9d5a79028466d0f753f09fc1cd83e35ba12f76ee 100644
--- a/third_party/gvr-android-sdk/gvr_api_jni.h
+++ b/third_party/gvr-android-sdk/gvr_api_jni.h
@@ -1283,7 +1283,7 @@ static const JNINativeMethod kMethodsGvrApi[] = {
};
static bool RegisterNativesImpl(JNIEnv* env) {
- if (base::android::IsManualJniRegistrationDisabled())
+ if (jni_generator::ShouldSkipJniRegistration(false))
return true;
const int kMethodsGvrApiSize = arraysize(kMethodsGvrApi);
« no previous file with comments | « third_party/gvr-android-sdk/display_synchronizer_jni.h ('k') | third_party/gvr-android-sdk/native_callbacks_jni.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698