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

Unified Diff: components/update_client/background_downloader_win.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
Index: components/update_client/background_downloader_win.cc
diff --git a/components/update_client/background_downloader_win.cc b/components/update_client/background_downloader_win.cc
index 870a2996b93cc0c15452fbb7eb01644c1be83b5d..262824a11485019b5d049581fdba543ed22079a1 100644
--- a/components/update_client/background_downloader_win.cc
+++ b/components/update_client/background_downloader_win.cc
@@ -442,7 +442,7 @@ void BackgroundDownloader::BeginDownload(const GURL& url) {
// A repeating timer retains the user task. This timer can be stopped and
// reset multiple times.
- timer_.reset(new base::RepeatingTimer<BackgroundDownloader>);
+ timer_.reset(new base::RepeatingTimer);
timer_->Start(FROM_HERE, base::TimeDelta::FromSeconds(kJobPollingIntervalSec),
this, &BackgroundDownloader::OnDownloading);
}
« no previous file with comments | « components/update_client/background_downloader_win.h ('k') | components/variations/variations_request_scheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698