Index: media/capture/video/android/java/src/org/chromium/media/VideoCaptureCamera.java |
diff --git a/media/capture/video/android/java/src/org/chromium/media/VideoCaptureCamera.java b/media/capture/video/android/java/src/org/chromium/media/VideoCaptureCamera.java |
index 085021c17cbd3b8c1c3a6b6c03144bd9e444a8c9..bc2c32453c5a5ddc132c60a2d7e9f3d8b49a4c64 100644 |
--- a/media/capture/video/android/java/src/org/chromium/media/VideoCaptureCamera.java |
+++ b/media/capture/video/android/java/src/org/chromium/media/VideoCaptureCamera.java |
@@ -85,19 +85,19 @@ public class VideoCaptureCamera |
// Storage of takePicture() callback Id. There can be one such request in flight at most, and |
// needs to be exercised either in case of error or sucess. |
- private long mPhotoTakenCallbackId = 0; |
- private int mPhotoWidth = 0; |
- private int mPhotoHeight = 0; |
+ private long mPhotoTakenCallbackId; |
+ private int mPhotoWidth; |
+ private int mPhotoHeight; |
private android.hardware.Camera.Area mAreaOfInterest; |
private android.hardware.Camera mCamera; |
// Lock to mutually exclude execution of OnPreviewFrame() and {start/stop}Capture(). |
private ReentrantLock mPreviewBufferLock = new ReentrantLock(); |
// True when native code has started capture. |
- private boolean mIsRunning = false; |
+ private boolean mIsRunning; |
- private int[] mGlTextures = null; |
- private SurfaceTexture mSurfaceTexture = null; |
+ private int[] mGlTextures; |
+ private SurfaceTexture mSurfaceTexture; |
private static android.hardware.Camera.CameraInfo getCameraInfo(int id) { |
android.hardware.Camera.CameraInfo cameraInfo = new android.hardware.Camera.CameraInfo(); |