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

Unified Diff: mojo/shell/android/mojo_main.cc

Issue 147533004: Remove unneeded JNI registrations. (Closed) Base URL: https://git.chromium.org/chromium/src.git@master
Patch Set: Fix android webview build issues. Created 6 years, 9 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: mojo/shell/android/mojo_main.cc
diff --git a/mojo/shell/android/mojo_main.cc b/mojo/shell/android/mojo_main.cc
index a6eb580f0b97e12601e8986891f105d2654b8889..e57599b9ee758b922deb8d7bfbdc4e6d18cf2a60 100644
--- a/mojo/shell/android/mojo_main.cc
+++ b/mojo/shell/android/mojo_main.cc
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "mojo/shell/android/mojo_main.h"
-
#include "base/android/jni_string.h"
#include "base/at_exit.h"
#include "base/bind.h"
@@ -107,8 +105,4 @@ static void Start(JNIEnv* env, jclass clazz, jobject context, jstring jurl) {
shell::Run(shell_context);
}
-bool RegisterMojoMain(JNIEnv* env) {
- return RegisterNativesImpl(env);
-}
-
} // namespace mojo

Powered by Google App Engine
This is Rietveld 408576698