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

Unified Diff: components/gcm_driver/instance_id/scoped_use_fake_instance_id_android.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: components/gcm_driver/instance_id/scoped_use_fake_instance_id_android.cc
diff --git a/components/gcm_driver/instance_id/scoped_use_fake_instance_id_android.cc b/components/gcm_driver/instance_id/scoped_use_fake_instance_id_android.cc
index 206b2900f03ce4bec97065e486b1701cf211968a..8c5c51ceed400a744efb4084137e77c079542730 100644
--- a/components/gcm_driver/instance_id/scoped_use_fake_instance_id_android.cc
+++ b/components/gcm_driver/instance_id/scoped_use_fake_instance_id_android.cc
@@ -11,11 +11,6 @@ using base::android::AttachCurrentThread;
namespace instance_id {
-// static
-bool ScopedUseFakeInstanceIDAndroid::RegisterJni(JNIEnv* env) {
- return RegisterNativesImpl(env);
-}
-
ScopedUseFakeInstanceIDAndroid::ScopedUseFakeInstanceIDAndroid() {
JNIEnv* env = AttachCurrentThread();
previous_value_ =

Powered by Google App Engine
This is Rietveld 408576698