Index: src/sampler.cc |
diff --git a/src/sampler.cc b/src/sampler.cc |
index 2c6cac669317f3f5c1cae58580f65527f9f54f91..5f6f2e25a7fb0168e553a7b97f9ceae5c892908c 100644 |
--- a/src/sampler.cc |
+++ b/src/sampler.cc |
@@ -558,7 +558,7 @@ class SamplerThread : public base::Thread { |
sampler->DoSample(); |
} |
} |
- base::OS::Sleep(interval_); |
+ base::OS::Sleep(base::TimeDelta::FromMilliseconds(interval_)); |
} |
} |