summaryrefslogtreecommitdiffstats
path: root/chrome/browser/net/predictor_unittest.cc
diff options
context:
space:
mode:
authortedvessenes@gmail.com <tedvessenes@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-28 00:57:00 +0000
committertedvessenes@gmail.com <tedvessenes@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-28 00:57:00 +0000
commit26b99739600d03d3f9489d6258794ddab5a5982a (patch)
treef56fd70ce7a5c245af131a45330ee4c392add3b6 /chrome/browser/net/predictor_unittest.cc
parent1a30dd3972674b1dd27aa956c7846a1fa5ea5909 (diff)
downloadchromium_src-26b99739600d03d3f9489d6258794ddab5a5982a.zip
chromium_src-26b99739600d03d3f9489d6258794ddab5a5982a.tar.gz
chromium_src-26b99739600d03d3f9489d6258794ddab5a5982a.tar.bz2
Convert use of int ms to TimeDelta in files owned by jar.
R=jar@chromium.org BUG=108171 TEST= Review URL: http://codereview.chromium.org/9190027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119547 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/net/predictor_unittest.cc')
-rw-r--r--chrome/browser/net/predictor_unittest.cc8
1 files changed, 5 insertions, 3 deletions
diff --git a/chrome/browser/net/predictor_unittest.cc b/chrome/browser/net/predictor_unittest.cc
index e9758f1..ebdd1b38 100644
--- a/chrome/browser/net/predictor_unittest.cc
+++ b/chrome/browser/net/predictor_unittest.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.
@@ -127,8 +127,10 @@ TEST_F(PredictorTest, ShutdownWhenResolutionIsPendingTest) {
testing_master.ResolveList(names, UrlInfo::PAGE_SCAN_MOTIVATED);
- MessageLoop::current()->PostDelayedTask(FROM_HERE,
- MessageLoop::QuitClosure(), 500);
+ MessageLoop::current()->PostDelayedTask(
+ FROM_HERE,
+ MessageLoop::QuitClosure(),
+ base::TimeDelta::FromMilliseconds(500));
MessageLoop::current()->Run();
EXPECT_FALSE(testing_master.WasFound(localhost));