summaryrefslogtreecommitdiffstats
path: root/media/audio/linux/alsa_output.cc
diff options
context:
space:
mode:
authortedvessenes@gmail.com <tedvessenes@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-14 20:39:04 +0000
committertedvessenes@gmail.com <tedvessenes@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-14 20:39:04 +0000
commitfc83b1764f09f01012d7888d186637d476c56a7a (patch)
tree08f5058133766791ce5dbb81faa0a9cd0dbd6468 /media/audio/linux/alsa_output.cc
parent911511f983add6d386659ac5576ef3e3a514e588 (diff)
downloadchromium_src-fc83b1764f09f01012d7888d186637d476c56a7a.zip
chromium_src-fc83b1764f09f01012d7888d186637d476c56a7a.tar.gz
chromium_src-fc83b1764f09f01012d7888d186637d476c56a7a.tar.bz2
Convert use of int ms to TimeDelta in files owned by vrk.
R=vrk@chromium.org BUG=108171 TEST= Review URL: http://codereview.chromium.org/9190026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117809 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/audio/linux/alsa_output.cc')
-rw-r--r--media/audio/linux/alsa_output.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/media/audio/linux/alsa_output.cc b/media/audio/linux/alsa_output.cc
index d924cd6..ef872c0 100644
--- a/media/audio/linux/alsa_output.cc
+++ b/media/audio/linux/alsa_output.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.
//
@@ -607,7 +607,7 @@ void AlsaPcmOutputStream::ScheduleNextWrite(bool source_exhausted) {
manager_->GetMessageLoop()->PostDelayedTask(FROM_HERE,
base::Bind(&AlsaPcmOutputStream::WriteTask,
weak_factory_.GetWeakPtr()),
- next_fill_time_ms);
+ base::TimeDelta::FromMilliseconds(next_fill_time_ms));
}
}
}