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

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: Created 4 years, 5 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 ac4620d49edb03e17e8561f77212c0acfa88739e..bfa560d53f3e8195e95326d4fcac4c1437723644 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