Index: chrome/browser/renderer_host/web_cache_manager.cc |
diff --git a/chrome/browser/renderer_host/web_cache_manager.cc b/chrome/browser/renderer_host/web_cache_manager.cc |
index 02bf51037ff464e3016f82cb1f494ecb87f3762e..f8b971a7aec87e43242773cff704fa4a8cd60a72 100644 |
--- a/chrome/browser/renderer_host/web_cache_manager.cc |
+++ b/chrome/browser/renderer_host/web_cache_manager.cc |
@@ -26,7 +26,7 @@ using base::Time; |
using base::TimeDelta; |
using WebKit::WebCache; |
-static const unsigned int kReviseAllocationDelayMS = 200 /* milliseconds */; |
+static const int kReviseAllocationDelayMS = 200; |
// The default size limit of the in-memory cache is 8 MB |
static const int kDefaultMemoryCacheSize = 8 * 1024 * 1024; |
@@ -421,7 +421,7 @@ void WebCacheManager::ReviseAllocationStrategyLater() { |
base::Bind( |
&WebCacheManager::ReviseAllocationStrategy, |
weak_factory_.GetWeakPtr()), |
- kReviseAllocationDelayMS); |
+ base::TimeDelta::FromMilliseconds(kReviseAllocationDelayMS)); |
} |
void WebCacheManager::FindInactiveRenderers() { |