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

Unified Diff: media/capture/video/android/photo_capabilities.cc

Issue 2199913003: media: Remove unneeded RegisterNatives() call (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@jnireg1
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
Index: media/capture/video/android/photo_capabilities.cc
diff --git a/media/capture/video/android/photo_capabilities.cc b/media/capture/video/android/photo_capabilities.cc
index aa70d07eb614443d81c8c6defc711b5ff275223d..4dea52598e9f73b63353cfaf6463dfc81bf1fc21 100644
--- a/media/capture/video/android/photo_capabilities.cc
+++ b/media/capture/video/android/photo_capabilities.cc
@@ -19,11 +19,6 @@ PhotoCapabilities::PhotoCapabilities(
PhotoCapabilities::~PhotoCapabilities() {}
-// static
-bool PhotoCapabilities::RegisterPhotoCapabilities(JNIEnv* env) {
- return RegisterNativesImpl(env);
-}
-
int PhotoCapabilities::getMinIso() const {
DCHECK(!object_.is_null());
return Java_PhotoCapabilities_getMinIso(AttachCurrentThread(), object_.obj());
« no previous file with comments | « media/capture/video/android/photo_capabilities.h ('k') | media/capture/video/android/video_capture_device_factory_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698