summaryrefslogtreecommitdiffstats
path: root/chrome/browser/safe_browsing/safe_browsing_service.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/safe_browsing/safe_browsing_service.cc')
-rw-r--r--chrome/browser/safe_browsing/safe_browsing_service.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/safe_browsing/safe_browsing_service.cc b/chrome/browser/safe_browsing/safe_browsing_service.cc
index 6f666b3..669dc33 100644
--- a/chrome/browser/safe_browsing/safe_browsing_service.cc
+++ b/chrome/browser/safe_browsing/safe_browsing_service.cc
@@ -1240,7 +1240,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) {