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

Unified Diff: device/vr/android/cardboard/cardboard_vr_device.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: device/vr/android/cardboard/cardboard_vr_device.cc
diff --git a/device/vr/android/cardboard/cardboard_vr_device.cc b/device/vr/android/cardboard/cardboard_vr_device.cc
index ed24bb92838f9a595498240feaa834d40507bc46..70176119960913a0ecd0443e9aa2843ab013bdff 100644
--- a/device/vr/android/cardboard/cardboard_vr_device.cc
+++ b/device/vr/android/cardboard/cardboard_vr_device.cc
@@ -23,10 +23,6 @@ using base::android::AttachCurrentThread;
namespace device {
-bool CardboardVRDevice::RegisterCardboardVRDevice(JNIEnv* env) {
- return RegisterNativesImpl(env);
-}
-
CardboardVRDevice::CardboardVRDevice(VRDeviceProvider* provider)
: VRDevice(provider) {
JNIEnv* env = AttachCurrentThread();

Powered by Google App Engine
This is Rietveld 408576698