Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2182)

Unified Diff: chrome/common/worker_thread_ticker.cc

Issue 9233018: Convert use of int ms to TimeDelta in files owned by brettw. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase onto master. Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/worker_thread_ticker.h ('k') | chrome/common/worker_thread_ticker_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() {
« no previous file with comments | « chrome/common/worker_thread_ticker.h ('k') | chrome/common/worker_thread_ticker_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698