diff options
author | tedvessenes@gmail.com <tedvessenes@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-05 05:14:12 +0000 |
---|---|---|
committer | tedvessenes@gmail.com <tedvessenes@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-05 05:14:12 +0000 |
commit | bd2fb568f441498d0cf542b9c8db9d718f9c6475 (patch) | |
tree | 697d3b8535aead61ab5e6f52bdaff67beb9376c3 /webkit/tools | |
parent | 916dfb696379d669b0981f7d0b8810b73b20f021 (diff) | |
download | chromium_src-bd2fb568f441498d0cf542b9c8db9d718f9c6475.zip chromium_src-bd2fb568f441498d0cf542b9c8db9d718f9c6475.tar.gz chromium_src-bd2fb568f441498d0cf542b9c8db9d718f9c6475.tar.bz2 |
Convert uses of int ms to TimeDelta in webkit/glue and webkit/tools.
R=darin@chromium.org
BUG=108171
Review URL: http://codereview.chromium.org/9582043
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124922 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools')
-rw-r--r-- | webkit/tools/test_shell/layout_test_controller.cc | 2 | ||||
-rw-r--r-- | webkit/tools/test_shell/webwidget_host.cc | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/webkit/tools/test_shell/layout_test_controller.cc b/webkit/tools/test_shell/layout_test_controller.cc index 201c3c7..aadbd39 100644 --- a/webkit/tools/test_shell/layout_test_controller.cc +++ b/webkit/tools/test_shell/layout_test_controller.cc @@ -160,7 +160,7 @@ void LayoutTestController::waitUntilDone( FROM_HERE, base::Bind(&LayoutTestController::notifyDoneTimedOut, weak_factory_.GetWeakPtr()), - shell_->GetLayoutTestTimeout()); + base::TimeDelta::FromMilliseconds(shell_->GetLayoutTestTimeout())); } wait_until_done_ = true; diff --git a/webkit/tools/test_shell/webwidget_host.cc b/webkit/tools/test_shell/webwidget_host.cc index 32b399b..1e6f96a 100644 --- a/webkit/tools/test_shell/webwidget_host.cc +++ b/webkit/tools/test_shell/webwidget_host.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. @@ -11,5 +11,5 @@ void WebWidgetHost::ScheduleAnimation() { MessageLoop::current()->PostDelayedTask( FROM_HERE, base::Bind(&WebWidgetHost::ScheduleComposite, weak_factory_.GetWeakPtr()), - 10); + base::TimeDelta::FromMilliseconds(10)); } |