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

Unified Diff: third_party/gvr-android-sdk/display_synchronizer_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/display_synchronizer_jni.h
diff --git a/third_party/gvr-android-sdk/display_synchronizer_jni.h b/third_party/gvr-android-sdk/display_synchronizer_jni.h
index 89f1fc6ce4508a3522bed9be7cdba5b037daeaff..8b03dfc415748ae38627850274b42e9423ecdc1f 100644
--- a/third_party/gvr-android-sdk/display_synchronizer_jni.h
+++ b/third_party/gvr-android-sdk/display_synchronizer_jni.h
@@ -111,7 +111,7 @@ static const JNINativeMethod kMethodsDisplaySynchronizer[] = {
};
static bool RegisterNativesImpl(JNIEnv* env) {
- if (base::android::IsManualJniRegistrationDisabled())
+ if (jni_generator::ShouldSkipJniRegistration(false))
return true;
const int kMethodsDisplaySynchronizerSize =

Powered by Google App Engine
This is Rietveld 408576698