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

Unified Diff: base/android/java_runtime.cc

Issue 2202793002: base: Remove unneeded RegisterNatives() calls on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@jnireg2
Patch Set: rebase 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
« no previous file with comments | « base/android/java_runtime.h ('k') | base/android/jni_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/android/java_runtime.cc
diff --git a/base/android/java_runtime.cc b/base/android/java_runtime.cc
index 5be9adfd9fa339aa5ec2737730b69df997056746..bc67978b0c9e596c89b405477ff7b97ffc0a6d36 100644
--- a/base/android/java_runtime.cc
+++ b/base/android/java_runtime.cc
@@ -9,10 +9,6 @@
namespace base {
namespace android {
-bool JavaRuntime::Register(JNIEnv* env) {
- return JNI_Runtime::RegisterNativesImpl(env);
-}
-
void JavaRuntime::GetMemoryUsage(long* total_memory, long* free_memory) {
JNIEnv* env = base::android::AttachCurrentThread();
base::android::ScopedJavaLocalRef<jobject> runtime =
« no previous file with comments | « base/android/java_runtime.h ('k') | base/android/jni_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698