From 400d323d53525a13fbfc47efa8a95c4b13cbccb9 Mon Sep 17 00:00:00 2001 From: "jbates@chromium.org" Date: Fri, 2 Sep 2011 01:38:59 +0000 Subject: Currently, base/timer.cc calls PostTask with FROM_HERE as the Location, so the original code that created the delayed callback is lost. This change adds a tracked_objects::Location parameter to the APIs in base/timer.h so we can trace the PostTask callbacks. The other files are touched to add the FROM_HERE Location parameter. Review URL: http://codereview.chromium.org/7812036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99284 0039d316-1c4b-4281-b951-d872f2087c98 --- media/audio/audio_input_controller.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'media/audio/audio_input_controller.cc') diff --git a/media/audio/audio_input_controller.cc b/media/audio/audio_input_controller.cc index da957e6..cedbb24 100644 --- a/media/audio/audio_input_controller.cc +++ b/media/audio/audio_input_controller.cc @@ -21,7 +21,7 @@ AudioInputController::AudioInputController(EventHandler* handler, SyncWriter* sync_writer) : handler_(handler), stream_(NULL), - ALLOW_THIS_IN_INITIALIZER_LIST(no_data_timer_( + ALLOW_THIS_IN_INITIALIZER_LIST(no_data_timer_(FROM_HERE, base::TimeDelta::FromSeconds(kTimerResetInterval), this, &AudioInputController::DoReportNoDataError)), -- cgit v1.1