summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/net
diff options
context:
space:
mode:
authortedvessenes@gmail.com <tedvessenes@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-16 01:46:26 +0000
committertedvessenes@gmail.com <tedvessenes@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-16 01:46:26 +0000
commit14b95f1e35ee10b56b0ec6b88d2f563d5c14e99b (patch)
treebf18cab4afa4013ece3600c10daadaeb62428291 /chrome/renderer/net
parent24469df740672071da7cb0a44386fff9d9cacb7f (diff)
downloadchromium_src-14b95f1e35ee10b56b0ec6b88d2f563d5c14e99b.zip
chromium_src-14b95f1e35ee10b56b0ec6b88d2f563d5c14e99b.tar.gz
chromium_src-14b95f1e35ee10b56b0ec6b88d2f563d5c14e99b.tar.bz2
Convert use of int ms to TimeDelta in files owned by brettw.
R=brettw@chromium.org BUG=108171 TEST= Review URL: http://codereview.chromium.org/9185026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117824 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/net')
-rw-r--r--chrome/renderer/net/renderer_net_predictor.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/renderer/net/renderer_net_predictor.cc b/chrome/renderer/net/renderer_net_predictor.cc
index 9b6c489..746cd22 100644
--- a/chrome/renderer/net/renderer_net_predictor.cc
+++ b/chrome/renderer/net/renderer_net_predictor.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -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();