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

Unified Diff: ui/android/java/src/org/chromium/ui/base/TouchDevice.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: ui/android/java/src/org/chromium/ui/base/TouchDevice.java
diff --git a/ui/android/java/src/org/chromium/ui/base/TouchDevice.java b/ui/android/java/src/org/chromium/ui/base/TouchDevice.java
index 889edf467ac5f7ca612e68a8c109516442375d3a..440e95c8c281fcec789b123113506f856f6fc367 100644
--- a/ui/android/java/src/org/chromium/ui/base/TouchDevice.java
+++ b/ui/android/java/src/org/chromium/ui/base/TouchDevice.java
@@ -71,8 +71,7 @@ public class TouchDevice {
// SOURCE_KEYBOARD, SOURCE_TOUCH_NAVIGATION, SOURCE_UNKNOWN
}
- if (pointerTypesVal == 0)
- pointerTypesVal = PointerType.NONE;
+ if (pointerTypesVal == 0) pointerTypesVal = PointerType.NONE;
return pointerTypesVal;
}
@@ -99,8 +98,7 @@ public class TouchDevice {
// SOURCE_KEYBOARD, SOURCE_TOUCH_NAVIGATION, SOURCE_UNKNOWN
}
- if (hoverTypesVal == 0)
- hoverTypesVal = HoverType.NONE;
+ if (hoverTypesVal == 0) hoverTypesVal = HoverType.NONE;
return hoverTypesVal;
}

Powered by Google App Engine
This is Rietveld 408576698