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

Unified Diff: content/browser/download/download_file_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
Index: content/browser/download/download_file_impl.cc
diff --git a/content/browser/download/download_file_impl.cc b/content/browser/download/download_file_impl.cc
index 343672268e1bd15c5c9d64149e8556798e95e973..c5bed5405bab9a1be7c3c6a9a764c23a566e598f 100644
--- a/content/browser/download/download_file_impl.cc
+++ b/content/browser/download/download_file_impl.cc
@@ -66,7 +66,7 @@ DownloadFileImpl::~DownloadFileImpl() {
void DownloadFileImpl::Initialize(const InitializeCallback& callback) {
DCHECK_CURRENTLY_ON(BrowserThread::FILE);
- update_timer_.reset(new base::RepeatingTimer<DownloadFileImpl>());
+ update_timer_.reset(new base::RepeatingTimer());
DownloadInterruptReason result =
file_.Initialize(default_download_directory_);
if (result != DOWNLOAD_INTERRUPT_REASON_NONE) {
« no previous file with comments | « content/browser/download/download_file_impl.h ('k') | content/browser/indexed_db/indexed_db_backing_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698