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

Unified Diff: chrome/browser/web_resource/web_resource_service.cc

Issue 9185026: 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: Explicitly include base/time.h in header file. 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 65a6de50848e0575a55f25577ee8e92c7045a2d9..b918472086a52f1f9d4070e7dfece46d87298cb1 100644
--- a/chrome/browser/web_resource/web_resource_service.cc
+++ b/chrome/browser/web_resource/web_resource_service.cc
@@ -180,7 +180,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