Chromium Code Reviews| Index: base/spin_wait.h |
| diff --git a/base/spin_wait.h b/base/spin_wait.h |
| index 1e31b1457681dd2cec1117fb91c3694c9323f1c7..2d1db18278ba0fe363bae7d518d1e688a132938a 100644 |
| --- a/base/spin_wait.h |
| +++ b/base/spin_wait.h |
| @@ -44,7 +44,7 @@ |
| kTimeout.InMilliseconds()) << "Timed out"; \ |
| break; \ |
| } \ |
| - base::PlatformThread::Sleep(50); \ |
| + base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(50)); \ |
| } \ |
| } while (0) |