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

Unified Diff: chrome/browser/sync_file_system/local/local_file_sync_context.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: chrome/browser/sync_file_system/local/local_file_sync_context.cc
diff --git a/chrome/browser/sync_file_system/local/local_file_sync_context.cc b/chrome/browser/sync_file_system/local/local_file_sync_context.cc
index 0aafc6d6c44b400f8df387ebb35ec5f8d86e0a1c..571ceab4bd516d9cd70b5c56d0aeb1ff2cab7da6 100644
--- a/chrome/browser/sync_file_system/local/local_file_sync_context.cc
+++ b/chrome/browser/sync_file_system/local/local_file_sync_context.cc
@@ -678,7 +678,7 @@ void LocalFileSyncContext::InitializeFileSystemContextOnIOThread(
DCHECK(!sync_status_);
DCHECK(!timer_on_io_);
sync_status_.reset(new LocalFileSyncStatus);
- timer_on_io_.reset(new base::OneShotTimer<LocalFileSyncContext>);
+ timer_on_io_.reset(new base::OneShotTimer);
operation_runner_.reset(new SyncableFileOperationRunner(
kMaxConcurrentSyncableOperation,
sync_status_.get()));

Powered by Google App Engine
This is Rietveld 408576698