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

Unified Diff: remoting/host/cast_video_capturer_adapter.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 | « remoting/host/cast_video_capturer_adapter.h ('k') | remoting/host/chromeos/clipboard_aura.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/cast_video_capturer_adapter.cc
diff --git a/remoting/host/cast_video_capturer_adapter.cc b/remoting/host/cast_video_capturer_adapter.cc
index 37d36fe418e2aff939503b12009fcae0a4b01704..02caeffbf83bc0a5da00e53bb9556eb20a15eb8e 100644
--- a/remoting/host/cast_video_capturer_adapter.cc
+++ b/remoting/host/cast_video_capturer_adapter.cc
@@ -95,7 +95,7 @@ cricket::CaptureState CastVideoCapturerAdapter::Start(
// to estimate the creation time of the frame source, to set the elapsed_time
// of future CapturedFrames in OnCaptureCompleted().
start_time_ = base::TimeTicks::Now();
- capture_timer_.reset(new base::RepeatingTimer<CastVideoCapturerAdapter>());
+ capture_timer_.reset(new base::RepeatingTimer());
capture_timer_->Start(FROM_HERE,
base::TimeDelta::FromMicroseconds(
GetCaptureFormat()->interval /
« no previous file with comments | « remoting/host/cast_video_capturer_adapter.h ('k') | remoting/host/chromeos/clipboard_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698