Skip to content

Commit

Permalink
Switch to TimeDelta interface for TestTimeouts in dbus code.
Browse files Browse the repository at this point in the history
R=keybuk@chromium.org
BUG=108171


Review URL: https://chromiumcodereview.appspot.com/10735022

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145714 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
tedvessenes@gmail.com committed Jul 9, 2012
1 parent 6a7e667 commit 951a721
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions dbus/test_service.cc
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,7 @@ bool TestService::StartService() {
}

bool TestService::WaitUntilServiceIsStarted() {
const base::TimeDelta timeout(
base::TimeDelta::FromMilliseconds(
TestTimeouts::action_max_timeout_ms()));
const base::TimeDelta timeout(TestTimeouts::action_max_timeout());
// Wait until all methods are exported.
return on_all_methods_exported_.TimedWait(timeout);
}
Expand Down

0 comments on commit 951a721

Please sign in to comment.