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

Unified Diff: components/navigation_interception/intercept_navigation_delegate.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/intercept_navigation_delegate.cc
diff --git a/components/navigation_interception/intercept_navigation_delegate.cc b/components/navigation_interception/intercept_navigation_delegate.cc
index 13f6b0b315eae8eaa6ac45a67fac1fdf5e38c7d6..d29fb889474fc1866692886b79337f08dbf75122 100644
--- a/components/navigation_interception/intercept_navigation_delegate.cc
+++ b/components/navigation_interception/intercept_navigation_delegate.cc
@@ -147,10 +147,4 @@ void InterceptNavigationDelegate::UpdateLastUserGestureCarryoverTimestamp() {
last_user_gesture_carryover_timestamp_ = base::TimeTicks::Now();
}
-// Register native methods.
-
-bool RegisterInterceptNavigationDelegate(JNIEnv* env) {
- return RegisterNativesImpl(env);
-}
-
} // namespace navigation_interception

Powered by Google App Engine
This is Rietveld 408576698