summaryrefslogtreecommitdiffstats
path: root/base/sequenced_task_runner.cc
diff options
context:
space:
mode:
authortedvessenes@gmail.com <tedvessenes@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-21 17:31:56 +0000
committertedvessenes@gmail.com <tedvessenes@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-21 17:31:56 +0000
commitbeea99244392ee9ec7e68e2d56c4409390dfb3d1 (patch)
treea47408a7aaf52f8366ab2ac57e66f75157ba86bd /base/sequenced_task_runner.cc
parent131816e4a472b264f11bc910f5005c97c3fe26f2 (diff)
downloadchromium_src-beea99244392ee9ec7e68e2d56c4409390dfb3d1.zip
chromium_src-beea99244392ee9ec7e68e2d56c4409390dfb3d1.tar.gz
chromium_src-beea99244392ee9ec7e68e2d56c4409390dfb3d1.tar.bz2
Remove old Sleep and PostDelayedTask interfaces that use int ms instead of TimeDelta.
The previous version of this patch was reverted due to crashing cros_x86 and cros_tegra2 builds. See: http://codereview.chromium.org/9703053/ BUG=108171 Review URL: https://chromiumcodereview.appspot.com/10572030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143401 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/sequenced_task_runner.cc')
-rw-r--r--base/sequenced_task_runner.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/sequenced_task_runner.cc b/base/sequenced_task_runner.cc
index bab7d1c..00d4048 100644
--- a/base/sequenced_task_runner.cc
+++ b/base/sequenced_task_runner.cc
@@ -11,7 +11,7 @@ namespace base {
bool SequencedTaskRunner::PostNonNestableTask(
const tracked_objects::Location& from_here,
const Closure& task) {
- return PostNonNestableDelayedTask(from_here, task, 0);
+ return PostNonNestableDelayedTask(from_here, task, base::TimeDelta());
}
bool SequencedTaskRunner::DeleteSoonInternal(