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

Unified Diff: media/base/android/java/src/org/chromium/media/VideoCaptureFactory.java

Issue 667433003: Fix a crash when cameraInfo is NULL (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits Created 6 years, 2 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/base/android/java/src/org/chromium/media/VideoCaptureFactory.java
diff --git a/media/base/android/java/src/org/chromium/media/VideoCaptureFactory.java b/media/base/android/java/src/org/chromium/media/VideoCaptureFactory.java
index 015031639f15ffcbfa4c997754ad873a0ae03d69..32eeb3fe639ca51aeb5f7f7b7c6829c636799954 100644
--- a/media/base/android/java/src/org/chromium/media/VideoCaptureFactory.java
+++ b/media/base/android/java/src/org/chromium/media/VideoCaptureFactory.java
@@ -108,11 +108,6 @@ class VideoCaptureFactory {
}
@CalledByNative
- static String getDeviceId(int id) {
- return Integer.toString(id);
- }
-
- @CalledByNative
static VideoCapture.CaptureFormat[] getDeviceSupportedFormats(int id) {
return ChromiumCameraInfo.isSpecialCamera(id) ?
VideoCaptureTango.getDeviceSupportedFormats(

Powered by Google App Engine
This is Rietveld 408576698