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

Unified Diff: components/copresence/handlers/audio/audio_directive_handler_impl.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 | « components/copresence/copresence_manager_impl.cc ('k') | components/copresence/timed_map.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/copresence/handlers/audio/audio_directive_handler_impl.cc
diff --git a/components/copresence/handlers/audio/audio_directive_handler_impl.cc b/components/copresence/handlers/audio/audio_directive_handler_impl.cc
index 9b41629d56d4550157ed26e1ab7ef0bfe3efdf9c..2ae6314fe839445ebf9cb0c91460f2f6ab1a4533 100644
--- a/components/copresence/handlers/audio/audio_directive_handler_impl.cc
+++ b/components/copresence/handlers/audio/audio_directive_handler_impl.cc
@@ -55,7 +55,7 @@ AudioDirectiveHandlerImpl::AudioDirectiveHandlerImpl(
const DirectivesCallback& update_directives_callback)
: update_directives_callback_(update_directives_callback),
audio_modem_(audio_modem::Modem::Create()),
- audio_event_timer_(new base::OneShotTimer<AudioDirectiveHandler>),
+ audio_event_timer_(new base::OneShotTimer),
clock_(new TickClockRefCounted(new base::DefaultTickClock)) {}
AudioDirectiveHandlerImpl::AudioDirectiveHandlerImpl(
« no previous file with comments | « components/copresence/copresence_manager_impl.cc ('k') | components/copresence/timed_map.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698