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

Unified Diff: base/android/java_runtime.h

Issue 2146753002: Android: Remove unneeded RegisterNatives() calls (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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: base/android/java_runtime.h
diff --git a/base/android/java_runtime.h b/base/android/java_runtime.h
index 4ca889e05f1df28a59cbaaeadd2a5a039c9ba782..2034fb9c1d071a130212bb129a72b8a50e683ad9 100644
--- a/base/android/java_runtime.h
+++ b/base/android/java_runtime.h
@@ -14,9 +14,6 @@ namespace android {
// Wrapper class for using the java.lang.Runtime object from jni.
class BASE_EXPORT JavaRuntime {
public:
- // Registers the jni class (once per process).
- static bool Register(JNIEnv* env);
-
// Fills the total memory used and memory allocated for objects by the java
// heap in the current process. Returns true on success.
static void GetMemoryUsage(long* total_memory, long* free_memory);

Powered by Google App Engine
This is Rietveld 408576698