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

Unified Diff: chrome/browser/ui/android/infobars/confirm_infobar.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: chrome/browser/ui/android/infobars/confirm_infobar.cc
diff --git a/chrome/browser/ui/android/infobars/confirm_infobar.cc b/chrome/browser/ui/android/infobars/confirm_infobar.cc
index 341608fa4931011857a64d70cbbddc5a39c62c6a..6f86df202ebc6f91c8f7914f3f04b2908d66aa02 100644
--- a/chrome/browser/ui/android/infobars/confirm_infobar.cc
+++ b/chrome/browser/ui/android/infobars/confirm_infobar.cc
@@ -118,10 +118,3 @@ base::string16 ConfirmInfoBar::GetTextFor(
return (delegate->GetButtons() & button) ?
delegate->GetButtonLabel(button) : base::string16();
}
-
-
-// Native JNI methods ---------------------------------------------------------
-
-bool RegisterConfirmInfoBar(JNIEnv* env) {
- return RegisterNativesImpl(env);
-}

Powered by Google App Engine
This is Rietveld 408576698