Index: content/public/test/android/javatests/src/org/chromium/content/browser/test/util/CallbackHelper.java |
diff --git a/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/CallbackHelper.java b/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/CallbackHelper.java |
index eb0456325aa5673761fe97f5cf2a9174ab98a35b..e4aebf71038c43e242180feefc6411513fbe4683 100644 |
--- a/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/CallbackHelper.java |
+++ b/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/CallbackHelper.java |
@@ -208,8 +208,8 @@ public class CallbackHelper { |
synchronized (mLock) { |
final long startTime = SystemClock.uptimeMillis(); |
boolean isSatisfied = criteria.isSatisfied(); |
- while (!isSatisfied && |
- SystemClock.uptimeMillis() - startTime < unit.toMillis(timeout)) { |
+ while (!isSatisfied |
+ && SystemClock.uptimeMillis() - startTime < unit.toMillis(timeout)) { |
mLock.wait(unit.toMillis(timeout)); |
isSatisfied = criteria.isSatisfied(); |
} |