Index: chrome/renderer/net/renderer_net_predictor.cc |
diff --git a/chrome/renderer/net/renderer_net_predictor.cc b/chrome/renderer/net/renderer_net_predictor.cc |
index 9b6c489746b4e27ae6bfa0ab77d8c822dea1e635..aff24c13387bc055f682dc7e41fc9e885264667a 100644 |
--- a/chrome/renderer/net/renderer_net_predictor.cc |
+++ b/chrome/renderer/net/renderer_net_predictor.cc |
@@ -57,7 +57,7 @@ void RendererNetPredictor::Resolve(const char* name, size_t length) { |
RenderThread::Get()->GetMessageLoop()->PostDelayedTask( |
FROM_HERE, base::Bind(&RendererNetPredictor::SubmitHostnames, |
weak_factory_.GetWeakPtr()), |
- 10); |
+ base::TimeDelta::FromMilliseconds(10)); |
} |
return; |
} |
@@ -92,7 +92,7 @@ void RendererNetPredictor::SubmitHostnames() { |
RenderThread::Get()->GetMessageLoop()->PostDelayedTask( |
FROM_HERE, base::Bind(&RendererNetPredictor::SubmitHostnames, |
weak_factory_.GetWeakPtr()), |
- 10); |
+ base::TimeDelta::FromMilliseconds(10)); |
} else { |
// TODO(JAR): Should we only clear the map when we navigate, or reload? |
domain_map_.clear(); |