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

Unified Diff: components/navigation_interception/navigation_params_android.cc

Issue 2146753002: Android: Remove unneeded RegisterNatives() calls (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Android: Don't require RegisterNatives if there are none Created 4 years, 4 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: components/navigation_interception/navigation_params_android.cc
diff --git a/components/navigation_interception/navigation_params_android.cc b/components/navigation_interception/navigation_params_android.cc
index e6848d8853b26726f89ed90a80276835daad4ae9..be90ef7ced04642524cea77e0fdac8a4a95d9c39 100644
--- a/components/navigation_interception/navigation_params_android.cc
+++ b/components/navigation_interception/navigation_params_android.cc
@@ -34,10 +34,4 @@ base::android::ScopedJavaLocalRef<jobject> CreateJavaNavigationParams(
has_user_gesture_carryover);
}
-// Register native methods.
-
-bool RegisterNavigationParams(JNIEnv* env) {
- return RegisterNativesImpl(env);
-}
-
} // namespace navigation_interception

Powered by Google App Engine
This is Rietveld 408576698