Index: chrome/browser/net/url_fetcher_protect.cc |
diff --git a/chrome/browser/net/url_fetcher_protect.cc b/chrome/browser/net/url_fetcher_protect.cc |
index 22292abc7ea8a2fd328c394bf51f46c307aa11a8..8798b5a5cc0c8d23bf3d374af003113c5ec9d625 100644 |
--- a/chrome/browser/net/url_fetcher_protect.cc |
+++ b/chrome/browser/net/url_fetcher_protect.cc |
@@ -52,7 +52,7 @@ URLFetcherProtectEntry::URLFetcherProtectEntry(int sliding_window_period, |
ResetBackoff(); |
} |
-int URLFetcherProtectEntry::UpdateBackoff(EventType event_type) { |
+int64 URLFetcherProtectEntry::UpdateBackoff(EventType event_type) { |
// request may be sent in different threads |
AutoLock lock(lock_); |
@@ -71,7 +71,7 @@ int URLFetcherProtectEntry::UpdateBackoff(EventType event_type) { |
NOTREACHED(); |
} |
- int wait = static_cast<int>(t.InMilliseconds()); |
+ int64 wait = t.InMilliseconds(); |
DCHECK(wait >= 0); |
return wait; |
} |