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

Unified Diff: chrome/browser/ui/android/infobars/update_password_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/update_password_infobar.cc
diff --git a/chrome/browser/ui/android/infobars/update_password_infobar.cc b/chrome/browser/ui/android/infobars/update_password_infobar.cc
index c771216dd284ef1aeadb60f68ef2ae29fef1a2b7..771119c3ca821fc2920e6e302e686d0d39f7a96e 100644
--- a/chrome/browser/ui/android/infobars/update_password_infobar.cc
+++ b/chrome/browser/ui/android/infobars/update_password_infobar.cc
@@ -19,10 +19,6 @@ UpdatePasswordInfoBar::UpdatePasswordInfoBar(
UpdatePasswordInfoBar::~UpdatePasswordInfoBar() {}
-bool UpdatePasswordInfoBar::Register(JNIEnv* env) {
- return RegisterNativesImpl(env);
-}
-
int UpdatePasswordInfoBar::GetIdOfSelectedUsername() const {
return Java_UpdatePasswordInfoBar_getSelectedUsername(
base::android::AttachCurrentThread(), java_infobar_.obj());

Powered by Google App Engine
This is Rietveld 408576698