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

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

Issue 744453002: Fix a bunch of Java Checkstyle issues. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: NeedsBraces to info Created 6 years, 1 month 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/java/src/org/chromium/content/browser/PopupZoomer.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/PopupZoomer.java b/content/public/android/java/src/org/chromium/content/browser/PopupZoomer.java
index df6416c0391c8f2697f3da2691c9ba9f5cb4341e..fcfa3dc96b282811f8dd8b648c5db4e2208ffe89 100644
--- a/content/public/android/java/src/org/chromium/content/browser/PopupZoomer.java
+++ b/content/public/android/java/src/org/chromium/content/browser/PopupZoomer.java
@@ -430,8 +430,8 @@ class PopupZoomer extends View {
canvas.save();
// Calculate the elapsed fraction of animation.
- float time = (SystemClock.uptimeMillis() - mAnimationStartTime + mTimeLeft) /
- ((float) ANIMATION_DURATION);
+ float time = (SystemClock.uptimeMillis() - mAnimationStartTime + mTimeLeft)
+ / ((float) ANIMATION_DURATION);
time = constrain(time, 0, 1);
if (time >= 1) {
mAnimating = false;

Powered by Google App Engine
This is Rietveld 408576698