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

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

Issue 1002883002: Fix up if statement curly braces issues. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 9 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/VideoCaptureCamera.java
diff --git a/media/base/android/java/src/org/chromium/media/VideoCaptureCamera.java b/media/base/android/java/src/org/chromium/media/VideoCaptureCamera.java
index 01ec3167728718515cc776c4e1f3e4bbb210d8fe..08b977e61b7e8a975712f51ace7dcc9df32f67f2 100644
--- a/media/base/android/java/src/org/chromium/media/VideoCaptureCamera.java
+++ b/media/base/android/java/src/org/chromium/media/VideoCaptureCamera.java
@@ -268,8 +268,7 @@ public abstract class VideoCaptureCamera extends VideoCapture
stopCapture();
try {
mCamera.setPreviewTexture(null);
- if (mGlTextures != null)
- GLES20.glDeleteTextures(1, mGlTextures, 0);
+ if (mGlTextures != null) GLES20.glDeleteTextures(1, mGlTextures, 0);
mCaptureFormat = null;
mCamera.release();
mCamera = null;

Powered by Google App Engine
This is Rietveld 408576698