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

Unified Diff: base/android/sys_utils.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/sys_utils.h ('k') | base/android/thread_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/android/sys_utils.cc
diff --git a/base/android/sys_utils.cc b/base/android/sys_utils.cc
index e89c1b3d663ae8c1ebce4678453cbe3a1a6259cd..a5766449e863ede128d15eeecc9216a1ea85e63b 100644
--- a/base/android/sys_utils.cc
+++ b/base/android/sys_utils.cc
@@ -11,10 +11,6 @@
namespace base {
namespace android {
-bool SysUtils::Register(JNIEnv* env) {
- return RegisterNativesImpl(env);
-}
-
bool SysUtils::IsLowEndDeviceFromJni() {
JNIEnv* env = AttachCurrentThread();
return Java_SysUtils_isLowEndDevice(env);
@@ -22,4 +18,4 @@ bool SysUtils::IsLowEndDeviceFromJni() {
} // namespace android
-} // namespace base
+} // namespace base
« no previous file with comments | « base/android/sys_utils.h ('k') | base/android/thread_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698