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

Unified Diff: chrome/browser/ui/android/context_menu_helper.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/context_menu_helper.cc
diff --git a/chrome/browser/ui/android/context_menu_helper.cc b/chrome/browser/ui/android/context_menu_helper.cc
index e919bf74cecf19080b626126960cd522e925b92d..968180f5035eb8f231f3e7e2eafe5de4c8c4379b 100644
--- a/chrome/browser/ui/android/context_menu_helper.cc
+++ b/chrome/browser/ui/android/context_menu_helper.cc
@@ -177,6 +177,5 @@ void ContextMenuHelper::OnShareImage(const std::string& thumbnail_data,
}
bool RegisterContextMenuHelper(JNIEnv* env) {
- return RegisterNativesImpl(env) &&
- ContextMenuParamsAndroid::RegisterNativesImpl(env);
+ return RegisterNativesImpl(env);
}

Powered by Google App Engine
This is Rietveld 408576698