Index: chrome/common/worker_thread_ticker.cc |
diff --git a/chrome/common/worker_thread_ticker.cc b/chrome/common/worker_thread_ticker.cc |
index 391f0a3af2d90f8fc318e3d3c2cc94e482f7be21..2cbaa1eabe2d29ab79ff6127c509b4cdc1c32ed0 100644 |
--- a/chrome/common/worker_thread_ticker.cc |
+++ b/chrome/common/worker_thread_ticker.cc |
@@ -15,7 +15,7 @@ |
WorkerThreadTicker::WorkerThreadTicker(int tick_interval) |
: timer_thread_("worker_thread_ticker"), |
is_running_(false), |
- tick_interval_(tick_interval) { |
+ tick_interval_(base::TimeDelta::FromMilliseconds(tick_interval)) { |
} |
WorkerThreadTicker::~WorkerThreadTicker() { |