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; |