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

Unified Diff: chrome/browser/android/mojo/chrome_interface_registrar_android.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/android/mojo/chrome_interface_registrar_android.cc
diff --git a/chrome/browser/android/mojo/chrome_interface_registrar_android.cc b/chrome/browser/android/mojo/chrome_interface_registrar_android.cc
index 8a19f5c56abeb130ca37392a1e88040cc5be44db..268682707c35b04dec49b5b923a655b007d69edf 100644
--- a/chrome/browser/android/mojo/chrome_interface_registrar_android.cc
+++ b/chrome/browser/android/mojo/chrome_interface_registrar_android.cc
@@ -12,11 +12,6 @@
#include "services/shell/public/cpp/interface_registry.h"
// static
-bool ChromeInterfaceRegistrarAndroid::Register(JNIEnv* env) {
- return RegisterNativesImpl(env);
-}
-
-// static
void ChromeInterfaceRegistrarAndroid::ExposeInterfacesToFrame(
shell::InterfaceRegistry* registry,
content::RenderFrameHost* render_frame_host) {

Powered by Google App Engine
This is Rietveld 408576698