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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_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: Remove static class initializations. 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/safe_browsing/safe_browsing_service.cc
diff --git a/chrome/browser/safe_browsing/safe_browsing_service.cc b/chrome/browser/safe_browsing/safe_browsing_service.cc
index 3d01877341cb442c253d0cc8ca90ca2e839a7c0d..99dc1ff9dbc26d362d470b49019e7405d7f00b44 100644
--- a/chrome/browser/safe_browsing/safe_browsing_service.cc
+++ b/chrome/browser/safe_browsing/safe_browsing_service.cc
@@ -1244,7 +1244,7 @@ void SafeBrowsingService::StartDownloadCheck(SafeBrowsingCheck* check,
MessageLoop::current()->PostDelayedTask(FROM_HERE,
base::Bind(&SafeBrowsingService::TimeoutCallback,
check->timeout_factory_->GetWeakPtr(), check),
- timeout_ms);
+ base::TimeDelta::FromMilliseconds(timeout_ms));
}
void SafeBrowsingService::UpdateWhitelist(const UnsafeResource& resource) {

Powered by Google App Engine
This is Rietveld 408576698