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

Unified Diff: chrome/browser/ui/android/infobars/download_overwrite_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/download_overwrite_infobar.cc
diff --git a/chrome/browser/ui/android/infobars/download_overwrite_infobar.cc b/chrome/browser/ui/android/infobars/download_overwrite_infobar.cc
index 5548748374d3c4c94c7dcf0813be53a1cff0733b..be51215f804eadbf25b5d22c3de6b34bad6aaa5c 100644
--- a/chrome/browser/ui/android/infobars/download_overwrite_infobar.cc
+++ b/chrome/browser/ui/android/infobars/download_overwrite_infobar.cc
@@ -65,9 +65,3 @@ void DownloadOverwriteInfoBar::ProcessButton(int action) {
DownloadOverwriteInfoBarDelegate* DownloadOverwriteInfoBar::GetDelegate() {
return static_cast<DownloadOverwriteInfoBarDelegate*>(delegate());
}
-
-// Native JNI methods ---------------------------------------------------------
-
-bool RegisterDownloadOverwriteInfoBarDelegate(JNIEnv* env) {
- return RegisterNativesImpl(env);
-}

Powered by Google App Engine
This is Rietveld 408576698