Index: base/spin_wait.h |
diff --git a/base/spin_wait.h b/base/spin_wait.h |
index d6571b74aaefc49ce67053e3e2454375f9c2dd9b..36ae083f20a278bcfb73f7e358e2a407fa115f92 100644 |
--- a/base/spin_wait.h |
+++ b/base/spin_wait.h |
@@ -37,7 +37,7 @@ |
#define SPIN_FOR_TIMEDELTA_OR_UNTIL_TRUE(delta, expression) do { \ |
base::Time start = base::Time::Now(); \ |
const base::TimeDelta kTimeout = delta; \ |
- while (!(expression)) { \ |
+ while(!(expression)) { \ |
if (kTimeout < base::Time::Now() - start) { \ |
EXPECT_LE((base::Time::Now() - start).InMilliseconds(), \ |
kTimeout.InMilliseconds()) << "Timed out"; \ |
@@ -45,6 +45,7 @@ |
} \ |
PlatformThread::Sleep(50); \ |
} \ |
- } while (0) |
+ } \ |
+ while(0) |
#endif // BASE_SPIN_WAIT_H__ |