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

Unified Diff: chrome/browser/web_resource/web_resource_service.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
Index: chrome/browser/web_resource/web_resource_service.cc
diff --git a/chrome/browser/web_resource/web_resource_service.cc b/chrome/browser/web_resource/web_resource_service.cc
index a93fdde9a755619d392ce38d01fe61854c2a1426..803da649db0b341ce31875851402e59e01eeae11 100644
--- a/chrome/browser/web_resource/web_resource_service.cc
+++ b/chrome/browser/web_resource/web_resource_service.cc
@@ -181,7 +181,7 @@ void WebResourceService::ScheduleFetch(int64 delay_ms) {
FROM_HERE,
base::Bind(&WebResourceService::StartFetch,
weak_ptr_factory_.GetWeakPtr()),
- delay_ms);
+ base::TimeDelta::FromMilliseconds(delay_ms));
}
// Initializes the fetching of data from the resource server. Data
« no previous file with comments | « chrome/browser/web_resource/promo_resource_service.cc ('k') | chrome/common/important_file_writer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698