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

Unified Diff: net/android/traffic_stats.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: net/android/traffic_stats.cc
diff --git a/net/android/traffic_stats.cc b/net/android/traffic_stats.cc
index 4a953a6b880b4462efdaa09a97d804e4e98d1f1d..e690974e154229c815fc684d3dac0e4e815f97c7 100644
--- a/net/android/traffic_stats.cc
+++ b/net/android/traffic_stats.cc
@@ -43,10 +43,6 @@ bool GetCurrentUidRxBytes(int64_t* bytes) {
return *bytes != ERROR_NOT_SUPPORTED;
}
-bool Register(JNIEnv* env) {
- return RegisterNativesImpl(env);
-}
-
} // namespace traffic_stats
} // namespace android

Powered by Google App Engine
This is Rietveld 408576698