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

Unified Diff: content/public/android/javatests/src/org/chromium/content/browser/ScreenOrientationProviderTest.java

Issue 657163004: Fix Java indentation issues. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: content/public/android/javatests/src/org/chromium/content/browser/ScreenOrientationProviderTest.java
diff --git a/content/public/android/javatests/src/org/chromium/content/browser/ScreenOrientationProviderTest.java b/content/public/android/javatests/src/org/chromium/content/browser/ScreenOrientationProviderTest.java
index e93b2738c53eb76c70cf4604edf1ba9d96bceef3..69355ce8ea756a51a6335a0cb514801db1466138 100644
--- a/content/public/android/javatests/src/org/chromium/content/browser/ScreenOrientationProviderTest.java
+++ b/content/public/android/javatests/src/org/chromium/content/browser/ScreenOrientationProviderTest.java
@@ -37,7 +37,7 @@ public class ScreenOrientationProviderTest extends ContentShellTestBase {
private boolean checkOrientationForLock(int orientations) {
if (mNaturalOrientation == ActivityInfo.SCREEN_ORIENTATION_PORTRAIT) {
- switch (orientations) {
+ switch (orientations) {
case ScreenOrientationValues.PORTRAIT_PRIMARY:
return mObserver.mOrientation == 0;
case ScreenOrientationValues.PORTRAIT_SECONDARY:
@@ -58,7 +58,7 @@ public class ScreenOrientationProviderTest extends ContentShellTestBase {
return !mObserver.mHasChanged;
}
} else { // mNaturalOrientation == ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE
- switch (orientations) {
+ switch (orientations) {
case ScreenOrientationValues.PORTRAIT_PRIMARY:
return mObserver.mOrientation == -90;
case ScreenOrientationValues.PORTRAIT_SECONDARY:

Powered by Google App Engine
This is Rietveld 408576698