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

Unified Diff: components/history/core/browser/top_sites_impl.h

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/feedback/feedback_uploader.h ('k') | components/invalidation/impl/registration_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/history/core/browser/top_sites_impl.h
diff --git a/components/history/core/browser/top_sites_impl.h b/components/history/core/browser/top_sites_impl.h
index dab8392f06f09d69624e39291178f416ad2c909f..0d4999e12e7038364600f4b2f38f0a26bfb2ab25 100644
--- a/components/history/core/browser/top_sites_impl.h
+++ b/components/history/core/browser/top_sites_impl.h
@@ -271,7 +271,7 @@ class TopSitesImpl : public TopSites, public HistoryServiceObserver {
// Timer that asks history for the top sites. This is used to make sure our
// data stays in sync with history.
- base::OneShotTimer<TopSitesImpl> timer_;
+ base::OneShotTimer timer_;
// The time we started |timer_| at. Only valid if |timer_| is running.
base::TimeTicks timer_start_time_;
« no previous file with comments | « components/feedback/feedback_uploader.h ('k') | components/invalidation/impl/registration_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698