Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(745)

Unified Diff: media/audio/audio_output_controller.cc

Issue 1355063004: Template methods on Timer classes instead of the classes themselves. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: timer: fixcaller Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/audio/audio_output_controller.h ('k') | media/audio/audio_output_dispatcher_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/audio_output_controller.cc
diff --git a/media/audio/audio_output_controller.cc b/media/audio/audio_output_controller.cc
index 8af0aabb24667fcd45b1cb81f1054e4283ea3f76..59f541e7ac3e530720d3cbac1c3c5372bbfe0149 100644
--- a/media/audio/audio_output_controller.cc
+++ b/media/audio/audio_output_controller.cc
@@ -176,7 +176,7 @@ void AudioOutputController::DoPlay() {
// Timer self-manages its lifetime and WedgeCheck() will only record the UMA
// statistic if state is still kPlaying. Additional Start() calls will
// invalidate the previous timer.
- wedge_timer_.reset(new base::OneShotTimer<AudioOutputController>());
+ wedge_timer_.reset(new base::OneShotTimer());
wedge_timer_->Start(
FROM_HERE, TimeDelta::FromSeconds(5), this,
&AudioOutputController::WedgeCheck);
« no previous file with comments | « media/audio/audio_output_controller.h ('k') | media/audio/audio_output_dispatcher_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698