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

Unified Diff: android_webview/javatests/src/org/chromium/android_webview/test/util/VideoSurfaceViewUtils.java

Issue 1054203002: Enable NeedsBraces check and fix some checkstyle issues. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: android_webview/javatests/src/org/chromium/android_webview/test/util/VideoSurfaceViewUtils.java
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/util/VideoSurfaceViewUtils.java b/android_webview/javatests/src/org/chromium/android_webview/test/util/VideoSurfaceViewUtils.java
index eb28048a7a47a58a5707b0ca0ae263492013e361..a03ce0c3715e076ea87da11fabaf80b22fe7cb9e 100644
--- a/android_webview/javatests/src/org/chromium/android_webview/test/util/VideoSurfaceViewUtils.java
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/util/VideoSurfaceViewUtils.java
@@ -125,10 +125,10 @@ public class VideoSurfaceViewUtils {
if (view instanceof ViewGroup) {
ViewGroup viewGroup = (ViewGroup) view;
- for (int i = 0; i < viewGroup.getChildCount(); i++)
+ for (int i = 0; i < viewGroup.getChildCount(); i++) {
sum += containsNumChildrenOfTypeOnUiThread(viewGroup.getChildAt(i), childType);
+ }
}
-
return sum;
}
}

Powered by Google App Engine
This is Rietveld 408576698