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

Unified Diff: content/browser/mojo/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: content/browser/mojo/interface_registrar_android.cc
diff --git a/content/browser/mojo/interface_registrar_android.cc b/content/browser/mojo/interface_registrar_android.cc
index ca14541c27ff96e10c856bc516e95dafa618f084..cba21cf53c16e52f18301e35f6ce441d73896cf9 100644
--- a/content/browser/mojo/interface_registrar_android.cc
+++ b/content/browser/mojo/interface_registrar_android.cc
@@ -12,11 +12,6 @@
namespace content {
// static
-bool InterfaceRegistrarAndroid::Register(JNIEnv* env) {
- return RegisterNativesImpl(env);
-}
-
-// static
void InterfaceRegistrarAndroid::ExposeInterfacesToRenderer(
InterfaceRegistryAndroid* registry) {
JNIEnv* env = base::android::AttachCurrentThread();

Powered by Google App Engine
This is Rietveld 408576698